Cargo Features

zebra-rpc has no features set by default.

[dependencies]
zebra-rpc = { version = "1.0.0-beta.42", features = ["indexer-rpcs", "getblocktemplate-rpcs", "internal-miner", "proptest-impl"] }
indexer-rpcs = prost, tokio-stream, tonic, tonic-build, tonic-reflection

Affects zebra-rpc::indexer

getblocktemplate-rpcs = zcash_address

Production features that activate extra dependencies, or extra features in dependencies
Mining RPC support

Enables getblocktemplate-rpcs of zebra-chain, zebra-consensus, zebra-node-services, and zebra-state

Affects tests::utils, methods::get_block_template_rpcs

internal-miner

Experimental internal miner support

Affects mining::Config.internal_miner

proptest-impl = proptest

Test-only features

Enables proptest-impl of zebra-chain, zebra-consensus, zebra-network, and zebra-state

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.

tonic indexer-rpcs?

Enables tonic

indexer-rpcs dependencies

tonic-reflection indexer-rpcs?
prost indexer-rpcs?
tokio-stream indexer-rpcs?
zcash_address getblocktemplate-rpcs?

Enables zcash_address

ECC deps used by getblocktemplate-rpcs feature

tonic-build build indexer-rpcs?
proptest proptest-impl?

Enables proptest

Test-only feature proptest-impl