Cargo Features

PCZT has no features set by default.

[dependencies]
pczt = { version = "0.1.0", features = ["orchard", "sapling", "transparent", "zcp-builder", "io-finalizer", "prover", "signer", "spend-finalizer", "tx-extractor"] }
orchard io-finalizer? signer? tx-extractor?

Enables ff, nonempty ^0.7, orchard, pasta_curves, and zcash_protocol

nonempty:

- Orchard

sapling io-finalizer? signer? tx-extractor?

Enables bls12_381, ff, jubjub, redjubjub, sapling-crypto, zcash_note_encryption, and zcash_protocol

bls12_381:

- Sapling

transparent io-finalizer? signer? spend-finalizer? tx-extractor?

Enables secp256k1 ^0.27, zcash_transparent, and zcash_protocol

secp256k1:

Payment protocols
- Transparent

zcp-builder

Enables zcash_primitives and zcash_protocol

io-finalizer = orchard, sapling, transparent

Enables zcash_primitives

Affects roles::io_finalizer

prover

Enables rand_core and temporary-zcashd of optional sapling-crypto

sapling-crypto:

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 roles::prover

signer = orchard, sapling, transparent

Enables blake2b_simd, rand_core, and zcash_primitives

Affects roles::signer

spend-finalizer = transparent

Affects roles::spend_finalizer

tx-extractor = orchard, sapling, transparent

Enables rand_core and zcash_primitives

Affects roles::tx_extractor