Compare commits

2 Commits
dev ... master

Author SHA1 Message Date
c8f8f64d2d added dependency versions 2025-12-10 01:02:58 +02:00
6c0dc387c8 added private registry configuration 2025-12-10 00:59:25 +02:00
6 changed files with 12 additions and 4 deletions

5
.cargo/config.toml Normal file
View File

@@ -0,0 +1,5 @@
[registry]
default = "gitea"
[registries.gitea]
index = "sparse+https://git.jlux.dev/api/packages/scrac/cargo/"

1
.gitignore vendored
View File

@@ -3,3 +3,4 @@ web/
target/
result
.cargo/credentials.toml

View File

@@ -4,4 +4,4 @@ version = "0.1.0"
edition = "2024"
[dependencies]
fstools = { path = "../fstools" }
fstools = { version = "0.1.0", path = "../fstools" }

View File

@@ -5,5 +5,6 @@ targets = [
]
components = [
"clippy",
"rustfmt"
"rustfmt",
"rust-analyzer"
]

View File

@@ -9,5 +9,5 @@ path = "src/main.rs"
# local dependencies
[dependencies]
cracked_md = { path = "../cracked_md" }
fstools = { path = "../fstools" }
cracked_md = { version = "0.1.0", path = "../cracked_md" }
fstools = { version = "0.1.0", path = "../fstools" }

View File

@@ -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!(