make ldd / where features optional
This commit is contained in:
parent
5766b0cdfe
commit
ab083b07e4
3 changed files with 29 additions and 14 deletions
14
Cargo.toml
14
Cargo.toml
|
|
@ -2,11 +2,17 @@
|
|||
name = "yoke"
|
||||
version = "0.1.0"
|
||||
authors = [ "atagen" ]
|
||||
description = "A simple sandboxing tool, similar to bwrap"
|
||||
description = "CLI sandboxing tool similar to landrun or bwrap"
|
||||
repository = "https://git.atagen.co/atagen/yoke"
|
||||
license = "GPL-3.0-or-later"
|
||||
edition = "2024"
|
||||
|
||||
[features]
|
||||
default = []
|
||||
ldd = ["dep:elb-dl"]
|
||||
which = ["dep:which"]
|
||||
|
||||
|
||||
[profile.release]
|
||||
strip = true
|
||||
opt-level = "s"
|
||||
|
|
@ -14,7 +20,7 @@ codegen-units = 1
|
|||
|
||||
[dependencies]
|
||||
anyhow = "1.0.100"
|
||||
elb-dl = { version = "0.3.2", features = ["glibc"], default-features = false }
|
||||
exec = "0.3.1"
|
||||
landlock = "0.4.3"
|
||||
which = "8.0.0"
|
||||
exec = "0.3.1"
|
||||
elb-dl = { version = "0.3.2", features = ["glibc"], default-features = false, optional = true }
|
||||
which = { version = "8.0.0", optional = true }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue