This commit is contained in:
atagen 2025-11-17 09:20:25 +11:00
parent b11ab8a728
commit 4febac2085
7 changed files with 502 additions and 276 deletions

View file

@ -8,7 +8,7 @@ license = "GPL-3.0-or-later"
edition = "2024"
[features]
default = [ "abi-6", "cli" ]
default = [ "abi-6", "cli", "compat-besteffort" ]
cli = ["dep:elb-dl", "dep:which"]
nix = []
abi-1 = []
@ -17,6 +17,8 @@ abi-3 = []
abi-4 = []
abi-5 = []
abi-6 = []
compat-besteffort = []
compat-require = []
[profile.release]
strip = true
@ -27,6 +29,6 @@ lto = true
[dependencies]
anyhow = "1.0.100"
landlock = "0.4.3"
exec = "0.3.1"
elb-dl = { version = "0.3.2", features = ["glibc"], default-features = false, optional = true }
which = { version = "8.0.0", optional = true }
nix = { version = "0.30.1", features = ["fs", "mount", "process"] }