Remove implicit feature flags for optional dependencies
All optional dependencies are enabled as part of dedicated feature flags.
This commit is contained in:
parent
b7bba9bbb2
commit
0df4c6f043
|
@ -100,16 +100,16 @@ zcash_address = { workspace = true, features = ["test-dependencies"] }
|
||||||
time = ">=0.3.22, <0.3.24" # time 0.3.24 has MSRV 1.67
|
time = ">=0.3.22, <0.3.24" # time 0.3.24 has MSRV 1.67
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
lightwalletd-tonic = ["tonic"]
|
lightwalletd-tonic = ["dep:tonic"]
|
||||||
transparent-inputs = ["hdwallet", "zcash_primitives/transparent-inputs"]
|
transparent-inputs = ["dep:hdwallet", "zcash_primitives/transparent-inputs"]
|
||||||
test-dependencies = [
|
test-dependencies = [
|
||||||
"proptest",
|
"dep:proptest",
|
||||||
"orchard/test-dependencies",
|
"orchard/test-dependencies",
|
||||||
"zcash_primitives/test-dependencies",
|
"zcash_primitives/test-dependencies",
|
||||||
"incrementalmerkletree/test-dependencies"
|
"incrementalmerkletree/test-dependencies"
|
||||||
]
|
]
|
||||||
unstable = ["byteorder"]
|
unstable = ["dep:byteorder"]
|
||||||
unstable-serialization = ["byteorder"]
|
unstable-serialization = ["dep:byteorder"]
|
||||||
unstable-spanning-tree = []
|
unstable-spanning-tree = []
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
|
|
|
@ -79,7 +79,7 @@ test-dependencies = [
|
||||||
"zcash_client_backend/test-dependencies",
|
"zcash_client_backend/test-dependencies",
|
||||||
"incrementalmerkletree/test-dependencies",
|
"incrementalmerkletree/test-dependencies",
|
||||||
]
|
]
|
||||||
transparent-inputs = ["hdwallet", "zcash_client_backend/transparent-inputs"]
|
transparent-inputs = ["dep:hdwallet", "zcash_client_backend/transparent-inputs"]
|
||||||
unstable = ["zcash_client_backend/unstable"]
|
unstable = ["zcash_client_backend/unstable"]
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
|
|
|
@ -20,7 +20,7 @@ blake2b_simd.workspace = true
|
||||||
proptest = { workspace = true, optional = true }
|
proptest = { workspace = true, optional = true }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
test-dependencies = ["proptest"]
|
test-dependencies = ["dep:proptest"]
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
bench = false
|
bench = false
|
||||||
|
|
|
@ -100,10 +100,10 @@ pprof = { version = "0.11", features = ["criterion", "flamegraph"] } # MSRV 1.56
|
||||||
[features]
|
[features]
|
||||||
default = ["multicore"]
|
default = ["multicore"]
|
||||||
multicore = ["orchard/multicore", "sapling/multicore"]
|
multicore = ["orchard/multicore", "sapling/multicore"]
|
||||||
transparent-inputs = ["hdwallet", "ripemd", "secp256k1"]
|
transparent-inputs = ["dep:hdwallet", "dep:ripemd", "dep:secp256k1"]
|
||||||
temporary-zcashd = []
|
temporary-zcashd = []
|
||||||
test-dependencies = [
|
test-dependencies = [
|
||||||
"proptest",
|
"dep:proptest",
|
||||||
"orchard/test-dependencies",
|
"orchard/test-dependencies",
|
||||||
"sapling/test-dependencies",
|
"sapling/test-dependencies",
|
||||||
]
|
]
|
||||||
|
|
|
@ -45,9 +45,9 @@ byteorder.workspace = true
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["local-prover", "multicore"]
|
default = ["local-prover", "multicore"]
|
||||||
bundled-prover = ["wagyu-zcash-parameters"]
|
bundled-prover = ["dep:wagyu-zcash-parameters"]
|
||||||
directories = ["dep:home", "dep:known-folders", "dep:xdg"]
|
directories = ["dep:home", "dep:known-folders", "dep:xdg"]
|
||||||
download-params = ["minreq", "directories"]
|
download-params = ["dep:minreq", "directories"]
|
||||||
local-prover = ["directories"]
|
local-prover = ["directories"]
|
||||||
multicore = ["bellman/multicore", "zcash_primitives/multicore"]
|
multicore = ["bellman/multicore", "zcash_primitives/multicore"]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue