added private registry configuration
This commit is contained in:
5
.cargo/config.toml
Normal file
5
.cargo/config.toml
Normal file
@@ -0,0 +1,5 @@
|
||||
[registry]
|
||||
default = "gitea"
|
||||
|
||||
[registries.gitea]
|
||||
index = "sparse+https://git.jlux.dev/api/packages/scrac/cargo/"
|
||||
1
.gitignore
vendored
1
.gitignore
vendored
@@ -3,3 +3,4 @@ web/
|
||||
target/
|
||||
|
||||
result
|
||||
.cargo/credentials.toml
|
||||
|
||||
@@ -5,5 +5,6 @@ targets = [
|
||||
]
|
||||
components = [
|
||||
"clippy",
|
||||
"rustfmt"
|
||||
"rustfmt",
|
||||
"rust-analyzer"
|
||||
]
|
||||
|
||||
@@ -28,6 +28,7 @@ mod response;
|
||||
fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||
let args: ProgramArgs = std::env::args().try_into()?;
|
||||
|
||||
|
||||
if args.generate {
|
||||
match generate(&args.indir, &args.outdir, args.force) {
|
||||
Ok(()) => log!(
|
||||
|
||||
Reference in New Issue
Block a user