declarative cli and core: refactor

This commit is contained in:
ripytide
2024-04-22 16:59:23 +01:00
parent 724f084acb
commit a5880f614e
30 changed files with 634 additions and 969 deletions
+2 -6
View File
@@ -12,7 +12,7 @@ categories.workspace = true
[dependencies]
anyhow = "1.0"
clap = "4.5"
clap = { version = "4.5", features = ["derive"] }
const_format = { version = "0.2", default-features = false }
path-absolutize = "3.1"
regex = { version = "1.10", default-features = false, features = ["std"] }
@@ -21,8 +21,7 @@ walkdir = "2.5"
libc = "0.2"
enum_dispatch = "0.3"
serde = "1.0"
serde_derive = "1.0"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
serde_yaml = "0.9"
@@ -30,9 +29,6 @@ serde_yaml = "0.9"
alpm = { version = "3.0", optional = true }
rust-apt = { version = "0.7", optional = true }
[dev-dependencies]
rstest = "0.19"
[features]
default = []
arch = ["dep:alpm"]