Cargo Features

cometbft-proto has no features set by default.

[dependencies]
cometbft-proto = { version = "0.1.0-alpha.2", features = ["grpc", "grpc-server"] }
grpc = grpc-server
grpc-server grpc? = tonic

Affects cometbft.abci.v1::abci_service_server, cometbft.abci.v1beta1::abci_application_server, cometbft.abci.v1beta2::abci_application_server, cometbft.abci.v1beta3::abci_server, cometbft.rpc.grpc.v1beta1::broadcast_api_server, cometbft.rpc.grpc.v1beta2::broadcast_api_server, cometbft.rpc.grpc.v1beta3::broadcast_api_server, cometbft.services.block.v1::block_service_server, cometbft.services.block_results.v1::block_results_service_server, cometbft.services.pruning.v1::pruning_service_server, cometbft.services.version.v1::version_service_server

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 grpc-server?

Enables tonic ^0.10