Cargo Features

zebra-state has no features set by default.

[dependencies]
zebra-state = { version = "1.0.0-beta.42", features = ["progress-bar", "getblocktemplate-rpcs", "proptest-impl", "shielded-scan", "elasticsearch"] }
progress-bar = howudoin

Production features that activate extra dependencies, or extra features in dependencies

getblocktemplate-rpcs

Mining RPC support

Enables getblocktemplate-rpcs of zebra-chain

Affects response::GetBlockTemplateChainInfo, tree::history_tree, read::difficulty

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

Test-only features

Enables proptest-impl of zebra-chain

shielded-scan

Experimental shielded blockchain scanning

Affects disk_format::scan

elasticsearch

Experimental elasticsearch support

Enables elasticsearch of zebra-chain and elasticsearch ^8.5.0-alpha.1 and serde_json

elasticsearch:

elasticsearch specific dependencies.
Security: avoid default dependency on openssl

Affects config::Config.elasticsearch_url, config::Config.elasticsearch_username, config::Config.elasticsearch_password, finalized_state::FinalizedState.elastic_db, finalized_state::FinalizedState.elastic_blocks

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.

howudoin progress-bar?

Enables howudoin

prod feature progress-bar

zebra-test proptest-impl?

Enables zebra-test

test feature proptest-impl

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