Cargo Features
[dependencies]
cosmos-sdk-proto = { version = "0.27.0", default-features = false, features = ["std", "grpc", "grpc-transport", "cosmwasm", "serde"] }
- default = grpc-transport
-
The
grpc-transportfeature is set by default whenevercosmos-sdk-protois added withoutsomewhere in the dependency tree.default-features = false - std grpc?
-
Enables std of prost ^0.13 and tendermint-proto
- grpc grpc-transport = std, tonic
-
Affects
cosmos.app.v1alpha1.tonic::query_client,cosmos.app.v1alpha1.tonic::query_server,cosmos.auth.v1beta1.tonic::query_client,cosmos.auth.v1beta1.tonic::query_server,cosmos.auth.v1beta1.tonic::msg_client,cosmos.auth.v1beta1.tonic::msg_server,cosmos.authz.v1beta1.tonic::query_client,cosmos.authz.v1beta1.tonic::query_server,cosmos.authz.v1beta1.tonic::msg_client,cosmos.authz.v1beta1.tonic::msg_server,cosmos.autocli.v1.tonic::query_client,cosmos.autocli.v1.tonic::query_server,cosmos.bank.v1beta1.tonic::query_client,cosmos.bank.v1beta1.tonic::query_server,cosmos.bank.v1beta1.tonic::msg_client,cosmos.bank.v1beta1.tonic::msg_server,cosmos.base.node.v1beta1.tonic::service_client,cosmos.base.node.v1beta1.tonic::service_server,cosmos.base.reflection.v1beta1.tonic::reflection_service_client,cosmos.base.reflection.v1beta1.tonic::reflection_service_server… - grpc-transport default = grpc
-
Enables transport of tonic ^0.13
Optional dependencies
- cosmwasm
-
Affects
cosmos-sdk-proto::cosmwasm… - serde = pbjson
-
Enables serde
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.13
- pbjson serde?
-
Enables informalsystems-pbjson