Cargo Features
[dependencies]
pczt = { version = "0.5.0", default-features = false, features = ["std", "zip-233", "orchard", "sapling", "transparent", "zcp-builder", "io-finalizer", "prover", "signer", "spend-finalizer", "tx-extractor", "internal-tests"] }
- default = std
-
The
stdfeature is set by default wheneverpcztis added withoutsomewhere in the dependency tree.default-features = false - std default = document-features
- zip-233
-
Enables zip-233 of zcash_primitives
- orchard io-finalizer? signer? tx-extractor?
-
Enables functionality that requires Orchard protocol types.
Enables ff, nonempty ^0.11, orchard ^0.11, and pasta_curves
nonempty:
- Orchard
- sapling io-finalizer? signer? tx-extractor?
-
Enables functionality that requires Sapling protocol types.
Enables bls12_381, ff, jubjub, redjubjub, sapling-crypto ^0.5, and zcash_note_encryption
bls12_381:
- Sapling
- transparent io-finalizer? signer? spend-finalizer? tx-extractor?
-
Enables functionality that requires Zcash transparent protocol types.
Enables secp256k1 ^0.29, zcash_transparent, and zcash_script ^0.4.2
secp256k1:
Payment protocols
- Transparent - zcp-builder
-
Enables building a PCZT from the output of
zcash_primitives'sBuilder::build_for_pczt.Enables zcash_primitives
- io-finalizer internal-tests? = orchard, sapling, transparent
-
PCZT roles behind feature flags
These roles require awareness of at least one payment protocol's types in order to function.
Enables the I/O Finalizer role.
Enables zcash_primitives
Affects
roles::io_finalizer… - prover internal-tests?
-
Enables the Prover role.
Enables rand_core ^0.6, temporary-zcashd of optional sapling-crypto ^0.5
Affects
roles::prover… - signer internal-tests? = orchard, sapling, transparent
-
Enables the Signer role.
Enables blake2b_simd, rand_core ^0.6, and zcash_primitives
Affects
roles::signer… - spend-finalizer = transparent
-
Enables the Spend Finalizer role.
Affects
roles::spend_finalizer… - tx-extractor internal-tests? = orchard, sapling, transparent
-
Enables the Transaction Extractor role.
Enables rand_core ^0.6 and zcash_primitives
Affects
roles::tx_extractor… - internal-tests = io-finalizer, prover, signer, tx-extractor
-
Undocumented internal feature flag for enabling features needed for tests.
Enables signature-validation of zcash_script ^0.4.2
Features from optional dependencies
In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- document-features std
-
Enables document-features
- Documentation