Cargo Features
[dependencies]
terra-proto-rs = { version = "5.2.0", default-features = false, features = ["grpc", "grpc-transport"] }
- default = grpc-transport
-
The
grpc-transport
feature is set by default wheneverterra-proto-rs
is added without
somewhere in the dependency tree.default-features = false - grpc grpc-transport = tonic
-
Affects
alliance.alliance::query_client
,alliance.alliance::query_server
,alliance.alliance::msg_client
,alliance.alliance::msg_server
,cosmos.app.v1alpha1::query_client
,cosmos.app.v1alpha1::query_server
,cosmos.auth.v1beta1::query_client
,cosmos.auth.v1beta1::query_server
,cosmos.auth.v1beta1::msg_client
,cosmos.auth.v1beta1::msg_server
,cosmos.authz.v1beta1::query_client
,cosmos.authz.v1beta1::query_server
,cosmos.authz.v1beta1::msg_client
,cosmos.authz.v1beta1::msg_server
,cosmos.autocli.v1::query_client
,cosmos.autocli.v1::query_server
,cosmos.bank.v1beta1::query_client
,cosmos.bank.v1beta1::query_server
,cosmos.bank.v1beta1::msg_client
,cosmos.bank.v1beta1::msg_server
… - grpc-transport default = grpc
-
Enables transport of tonic ^0.8
Optional dependencies
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? grpc-transport
-
Enables tonic ^0.8