Cargo Features
zebra-state has no features set by default.
[dependencies]
zebra-state = { version = "4.0.0", features = ["progress-bar", "indexer", "proptest-impl", "elasticsearch", "tx_v6"] }
- progress-bar = howudoin
-
Production features that activate extra dependencies, or extra features in dependencies
- indexer
-
Indexes spending transaction ids by spent outpoints and revealed nullifiers
Affects
request::Spend,block::spending_transaction_hash… - proptest-impl = proptest, proptest-derive, zebra-test
-
Test-only features
Enables proptest-impl of zebra-chain
- elasticsearch
-
Experimental elasticsearch support
Enables elasticsearch of zebra-chain and elasticsearch ^8.17.0-alpha.1 and serde_json
elasticsearch:
elasticsearch specific dependencies.
Security: avoid default dependency on opensslAffects
config::Config.elasticsearch_url,config::Config.elasticsearch_username,config::Config.elasticsearch_password,finalized_state::FinalizedState.elastic_db,finalized_state::FinalizedState.elastic_blocks… - tx_v6
-
Enables tx_v6 of zebra-chain
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?
-
Enables proptest-derive ^0.5
- proptest proptest-impl?