1
Fork 0
mirror of https://github.com/thegeneralist01/archivr synced 2026-07-22 03:05:32 +02:00

chore: move cli into workspace crate

This commit is contained in:
TheGeneralist 2026-06-01 22:31:44 +02:00
parent 887d3f96a7
commit 59a2244513
Signed by: thegeneralist01
SSH key fingerprint: SHA256:pp9qddbCNmVNoSjevdvQvM5z0DHN7LTa8qBMbcMq/R4
12 changed files with 28 additions and 4 deletions

2
Cargo.lock generated
View file

@ -89,7 +89,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a23eb6b1614318a8071c9b2521f36b424b2c83db5eb3a0fead4a6c0809af6e61"
[[package]]
name = "archivr"
name = "archivr-cli"
version = "0.1.0"
dependencies = [
"anyhow",

View file

@ -1,9 +1,14 @@
[package]
name = "archivr"
[workspace]
members = [
"crates/archivr-cli",
]
resolver = "2"
[workspace.package]
version = "0.1.0"
edition = "2024"
[dependencies]
[workspace.dependencies]
anyhow = "1.0.100"
chrono = "0.4.42"
clap = { version = "4.5.48", features = ["derive"] }

View file

@ -0,0 +1,19 @@
[package]
name = "archivr-cli"
version.workspace = true
edition.workspace = true
[[bin]]
name = "archivr"
path = "src/main.rs"
[dependencies]
anyhow.workspace = true
chrono.workspace = true
clap.workspace = true
hex.workspace = true
regex.workspace = true
rusqlite.workspace = true
serde_json.workspace = true
sha3.workspace = true
uuid.workspace = true