add debian backend

This commit is contained in:
steven-omaha
2023-02-27 17:21:56 +01:00
parent 1dced07619
commit 7c4741753e
6 changed files with 261 additions and 7 deletions
+7 -3
View File
@@ -13,7 +13,6 @@ categories = ["command-line-utilities"]
features = ["alpm/docs-rs"]
[dependencies]
alpm = { version = "2.2", optional = true }
anyhow = { workspace = true }
clap = "4.1"
const_format = { version = "0.2", default-features = false }
@@ -21,13 +20,18 @@ path-absolutize = "3.0"
regex = "1.7"
termios = "0.3"
serde = "1.0"
serde_derive = "1.0"
serde_json = "1.0"
serde_yaml = "0.9"
serde_derive = "1.0"
serde = "1.0"
pacdef_macros = { path = "../pacdef_macros", version = "0.1" }
# backends
alpm = { version = "2.2", optional = true }
rust-apt = { version = "0.5", optional = true }
[features]
default = ["arch"]
arch = ["dep:alpm"]
debian = ["dep:rust-apt"]