Cargo Features

zebra-chain has no features set by default.

[dependencies]
zebra-chain = { version = "1.0.0-beta.46", features = ["json-conversion", "async-error", "shielded-scan", "internal-miner", "elasticsearch", "proptest-impl", "tx_v6", "bench"] }
json-conversion = serde_json

Production features that activate extra functionality
Consensus-critical conversion from JSON to Zcash types

Affects height::json_conversion

async-error = tokio

Async error handling convenience traits

Affects task::future

shielded-scan = zcash_client_backend

Experimental shielded scanning support

Affects primitives::viewing_key

internal-miner

Experimental internal miner support

Enables solver of equihash

elasticsearch

Experimental elasticsearch support

proptest-impl = proptest, proptest-derive, rand, rand_chacha, zebra-test

Test-only features

Enables tracing of tokio

Production feature async-error and testing feature proptest-impl

tx_v6
bench = zebra-test

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.

serde_json json-conversion?

Enables serde_json

Production feature json-conversion

tokio async-error? proptest-impl?
zcash_client_backend shielded-scan?

Enables zcash_client_backend

Experimental feature shielded-scan

proptest-derive proptest-impl?
rand proptest-impl?

Enables rand ^0.8.5

rand_chacha proptest-impl?

Enables rand_chacha ^0.3.1

zebra-test bench? proptest-impl?
proptest proptest-impl?

Enables proptest

Optional testing dependencies