Cargo Features

zebra-rpc has no features set by default.

[dependencies]
zebra-rpc = { version = "1.0.0-beta.37", features = ["getblocktemplate-rpcs", "internal-miner", "proptest-impl"] }
getblocktemplate-rpcs = rand, 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

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.

rand getblocktemplate-rpcs?

Enables rand

Experimental feature getblocktemplate-rpcs

zcash_address getblocktemplate-rpcs?

Enables zcash_address

ECC deps used by getblocktemplate-rpcs feature

proptest proptest-impl?

Enables proptest

Test-only feature proptest-impl