Cargo Features
[dependencies]
zcash_protocol = { version = "0.7.2", default-features = false, features = ["std", "test-dependencies", "local-consensus"] }
- default = std
-
The
stdfeature is set by default wheneverzcash_protocolis added withoutsomewhere in the dependency tree.default-features = false - std default = document-features
-
Enables memuse
- Logging and metrics
- test-dependencies
-
Exposes APIs that are useful for testing, such as
propteststrategies.Enables test-dependencies of incrementalmerkletree and incrementalmerkletree-testing and proptest >=1, <1.7
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