Cargo Features

tendermint-proto has no features set by default.

[dependencies]
tendermint-proto = { version = "0.40.0", features = ["std", "grpc", "grpc-server", "json-schema", "borsh", "parity-scale-codec"] }
std grpc-server? json-schema?

Affects timestamp::TimestampOutOfSystemRangeError

grpc = grpc-server
grpc-server grpc? = std

Enables tonic

Affects tendermint.abci::abci_application_server, tendermint.rpc.grpc::broadcast_api_server, tendermint.abci::abci_application_server, tendermint.rpc.grpc::broadcast_api_server, tendermint.abci::abci_server, tendermint.rpc.grpc::broadcast_api_server

json-schema = std

Enables schemars

Optional: enabled by the json-schema feature

borsh

Enables borsh

Optional: enabled by the borsh feature For borsh encode or decode, needs to track anchor-lang and near-sdk-rs borsh version

parity-scale-codec

Enables parity-scale-codec and scale-info

parity-scale-codec:

Optional: enabled by the parity-scale-codec feature