Cargo Features

tendermint-rpc has no features set by default.

[dependencies]
tendermint-rpc = { version = "0.40.0", features = ["secp256k1", "cli", "http-client", "websocket-client", "mock-client"] }
default

These default features are set whenever tendermint-rpc is added without default-features = false somewhere in the dependency tree.

Enables eyre_tracer and std of flex-error

secp256k1

Enables secp256k1 of tendermint

cli = http-client, structopt, tracing-subscriber, websocket-client

Required by the binary

http-client cli? = futures, reqwest, tracing

Enables macros of tokio

Affects transport::http, client::Client.genesis_chunked_stream, client::Client.wait_until_healthy, client::sync

websocket-client cli? = async-tungstenite, futures, tracing

Enables macros, sync and time of tokio

Affects transport::websocket, client::Client.genesis_chunked_stream, client::Client.wait_until_healthy, client::sync

mock-client = futures, tracing

Enables macros of tokio

Affects transport::mock, client::sync

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.

async-tungstenite websocket-client?

Enables async-tungstenite ^0.24

Optional dependencies

futures http-client? mock-client? websocket-client?
reqwest http-client?

Enables reqwest ^0.11.20

structopt cli?
tokio http-client? mock-client? websocket-client?
tracing http-client? mock-client? websocket-client?
tracing-subscriber cli?