add feature "all"
This commit is contained in:
parent
938a8662d4
commit
b0d1f5ae82
2 changed files with 17 additions and 18 deletions
|
|
@ -10,16 +10,14 @@ authors = [ "_cry64 <them@dobutterfliescry.net>" ]
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
build = "build.rs"
|
build = "build.rs"
|
||||||
|
|
||||||
[package.metadata.docs.rs]
|
|
||||||
targets = [ "x86_64-unknown-linux-gnu" ]
|
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
path = "src/lib.rs"
|
path = "src/lib.rs"
|
||||||
|
|
||||||
# NOTE: `[features]` have a 1-1 correspondence to the
|
# NOTE: `[features]` have a 1-1 correspondence to the
|
||||||
# NOTE: shared libraries produced by the Nix C API.
|
# NOTE: shared libraries produced by the Nix C API.
|
||||||
[features]
|
[features]
|
||||||
default = ["nix-util-c"]
|
default = [ "nix-util-c" ]
|
||||||
|
all = [ "nix-util-c", "nix-store-c", "nix-expr-c", "nix-fetchers-c", "nix-flake-c", "nix-main-c" ]
|
||||||
nix-util-c = []
|
nix-util-c = []
|
||||||
nix-store-c = []
|
nix-store-c = []
|
||||||
nix-expr-c = []
|
nix-expr-c = []
|
||||||
|
|
|
||||||
|
|
@ -14,6 +14,7 @@ path = "src/lib.rs"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["nix"]
|
default = ["nix"]
|
||||||
|
all = ["nix", "store", "exprs", "flakes"]
|
||||||
nix = ["nixide-sys/nix-util-c", "nixide-sys/nix-main-c"]
|
nix = ["nixide-sys/nix-util-c", "nixide-sys/nix-main-c"]
|
||||||
store = ["nix", "nixide-sys/nix-store-c"]
|
store = ["nix", "nixide-sys/nix-store-c"]
|
||||||
exprs = ["store", "nixide-sys/nix-expr-c"]
|
exprs = ["store", "nixide-sys/nix-expr-c"]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue