Cargo Features

[dependencies]
zcash_protocol = { version = "0.4.3", default-features = false, features = ["std", "test-dependencies", "local-consensus"] }
default = std

The std feature is set by default whenever zcash_protocol is added without default-features = false somewhere in the dependency tree.

std default = document-features

Enables memuse

- Logging and metrics

test-dependencies

Exposes APIs that are useful for testing, such as proptest strategies.

Enables test-dependencies of incrementalmerkletree ^0.7.1 and incrementalmerkletree-testing and proptest

proptest:

- Test dependencies

local-consensus

Exposes support for working with a local consensus (e.g. regtest).

Affects zcash_protocol::local_consensus

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

Dependencies used internally:
(Breaking upgrades to these are usually backwards-compatible, but check MSRVs.)
- Documentation