Files
pacdef_rust/crates/pacdef/Cargo.toml
T
steven-omaha 59d102a654 fix: build against alpm
alpm was updated to 4.x.x
2025-08-02 14:09:45 +02:00

37 lines
882 B
TOML

[package]
name = "pacdef"
description = "multi-backend declarative package manager for Linux"
version = "1.6.0"
edition.workspace = true
license.workspace = true
repository.workspace = true
readme.workspace = true
keywords.workspace = true
categories.workspace = true
[dependencies]
anyhow = "1.0"
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"] }
termios = "0.3"
walkdir = "2.5"
libc = "0.2"
enum_dispatch = "0.3"
log = { version = "0.4", features = ["std"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
toml = "0.4"
# backends
alpm = { version = "4.0", optional = true }
rust-apt = { version = "0.7", optional = true }
[features]
default = []
arch = ["dep:alpm"]
debian = ["dep:rust-apt"]