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 wheneverzcash_protocol
is added without
somewhere 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
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