Cargo Features

zebra-utils has no features set by default.

[dependencies]
zebra-utils = { version = "1.0.0-beta.43", features = ["zebra-checkpoints", "search-issue-refs", "getblocktemplate-rpcs", "shielded-scan", "openapi-generator"] }
zebra-checkpoints = itertools, tokio

Each binary has a feature that activates the extra dependencies it needs

Enables json-conversion of zebra-chain, rpc-client of zebra-node-services

Required by the zebra-checkpoints binary

search-issue-refs = regex, reqwest, tokio

Required by the search-issue-refs binary

getblocktemplate-rpcs

block-template-to-proposal uses the experimental mining RPC support feature name

Enables getblocktemplate-rpcs of zebra-chain, zebra-node-services, and zebra-rpc

zebra-rpc:

These crates are needed for the block-template-to-proposal binary

Required by the block-template-to-proposal binary

shielded-scan = itertools, jsonrpc, zcash_client_backend, zcash_primitives
openapi-generator = quote, serde, serde_yml, syn, zebra-rpc

Required by the openapi-generator binary

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.

zebra-rpc getblocktemplate-rpcs? openapi-generator?
itertools shielded-scan? zebra-checkpoints?

Enables itertools

These crates are needed for the zebra-checkpoints binary

regex search-issue-refs?

Enables regex

These crates are needed for the search-issue-refs binary

reqwest search-issue-refs?

Enables reqwest ^0.11.26

Avoid default openssl dependency to reduce the dependency tree and security alerts.

tokio search-issue-refs? zebra-checkpoints?

Enables tokio

These crates are needed for the zebra-checkpoints and search-issue-refs binaries

jsonrpc shielded-scan?
zcash_primitives shielded-scan?

Enables zcash_primitives ^0.19.0

zcash_client_backend shielded-scan?

Enables zcash_client_backend ^0.14.0

syn openapi-generator?
quote openapi-generator?
serde_yml openapi-generator?
serde openapi-generator?