Cargo Features
[dependencies]
zcash_primitives = { version = "0.21.0", default-features = false, features = ["multicore", "transparent-inputs", "temporary-zcashd", "test-dependencies", "expensive-tests", "non-standard-fees"] }
- default = multicore
-
The
multicore
feature is set by default wheneverzcash_primitives
is added without
somewhere in the dependency tree.default-features = false - multicore default
-
Enables multithreading support for creating proofs.
Enables multicore of orchard and sapling-crypto
- transparent-inputs
-
Enables spending transparent notes with the transaction builder.
Enables secp256k1 ^0.27
SecretKey
andPublicKey
types exposed
and secp256k1-ffi of bip32
- Transparent inputs
Error
type exposed
and transparent-inputs of zcash_transparent
- Transparent protocol
- temporary-zcashd
-
A temporary feature flag that exposes granular APIs needed by
zcashd
. These APIs should not be relied upon and will be removed in a future release.Affects
sapling::temporary_zcashd_read_spend_v4
,sapling::temporary_zcashd_read_output_v4
,sapling::temporary_zcashd_write_output_v4
,sapling::temporary_zcashd_read_v4_components
,sapling::temporary_zcashd_write_v4_components
… - test-dependencies
-
Exposes APIs that are useful for testing, such as
proptest
strategies.Enables test-dependencies of orchard, test-dependencies of sapling-crypto, zcash_transparent, and zcash_protocol and proptest
- Test dependencies
- expensive-tests
-
A feature used to isolate tests that are expensive to run. Test-only.
- non-standard-fees
-
A feature that provides
FeeRule
implementations and constructors for non-standard fees.Affects
fees::fixed
…