Cargo Features
[dependencies]
xion-cosmos-sdk-proto = { version = "0.26.1", default-features = false, features = ["std", "grpc", "grpc-transport", "cosmwasm", "serde", "xion", "tokenfactory"] }
- default = grpc-transport
-
The
grpc-transport
feature is set by default wheneverxion-cosmos-sdk-proto
is added without
somewhere in the dependency tree.default-features = false - std grpc?
-
Enables std of prost and tendermint-proto
- grpc grpc-transport = std, tonic
-
Affects
abstractaccount.v1.tonic::query_client
,abstractaccount.v1.tonic::query_server
,abstractaccount.v1.tonic::msg_client
,abstractaccount.v1.tonic::msg_server
,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
… - grpc-transport default = grpc
-
Optional dependencies
- cosmwasm
-
Affects
xion-cosmos-sdk-proto::cosmwasm
… - serde = pbjson
-
Enables serde, std of tendermint-proto
- xion
-
Affects
xion-cosmos-sdk-proto::xion
… - tokenfactory
-
Affects
xion-cosmos-sdk-proto::osmosis
…
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
- pbjson serde?
-
Enables informalsystems-pbjson