Cargo Features

[dependencies]
zcash_proofs = { version = "0.21.0", default-features = false, features = ["bundled-prover", "directories", "download-params", "local-prover", "multicore", "expensive-tests"] }
default = local-prover, multicore

These default features are set whenever zcash_proofs is added without default-features = false somewhere in the dependency tree.

bundled-prover

Bundles the Sapling proving parameters inside the binary, which will increase its size by around 50 MiB.

Enables wagyu-zcash-parameters

Affects zcash_proofs::prover

directories download-params? local-prover

Enables APIs for determining the default location on the local filesystem for storing the Sprout and Sapling proving parameters.

Enables home, known-folders, and xdg

Affects zcash_proofs::default_params_folder

download-params = directories

Enables APIs for downloading the Sprout and Sapling proving parameters to the default location on the local filesystem.

Enables minreq

Affects zcash_proofs::SaplingParameterPaths, zcash_proofs::download_parameters, zcash_proofs::download_sapling_parameters, zcash_proofs::download_sprout_parameters

local-prover default = directories

Enables APIs for loading the Sapling proving parameters from the default location on the local filesystem.

Affects zcash_proofs::prover

multicore default

Enables multithreading support for creating proofs.

Enables multicore of bellman and zcash_primitives

bellman:

Dependencies exposed in a public API:
(Breaking upgrades to these require a breaking upgrade to this crate.)

expensive-tests

A feature used to isolate tests that are expensive to run. Test-only.