Cargo Features
[dependencies]
archway-proto = { version = "0.2.1", default-features = false, features = ["std", "grpc", "grpc-transport", "proto-descriptor", "abstract-any"] }
- default = grpc-transport
-
The
grpc-transport
feature is set by default wheneverarchway-proto
is added without
somewhere in the dependency tree.default-features = false - std grpc?
-
Enables std of cosmos-sdk-proto, ibc-proto, and prost
- grpc grpc-transport = std, tonic
-
Enables grpc of cosmos-sdk-proto, client of ibc-proto
Affects
archway.callback.v1.tonic::query_client
,archway.callback.v1.tonic::query_server
,archway.callback.v1.tonic::msg_client
,archway.callback.v1.tonic::msg_server
,archway.cwerrors.v1.tonic::query_client
,archway.cwerrors.v1.tonic::query_server
,archway.cwerrors.v1.tonic::msg_client
,archway.cwerrors.v1.tonic::msg_server
,archway.cwfees.v1.tonic::msg_client
,archway.cwfees.v1.tonic::msg_server
,archway.cwfees.v1.tonic::query_client
,archway.cwfees.v1.tonic::query_server
,archway.cwica.v1.tonic::query_client
,archway.cwica.v1.tonic::query_server
,archway.cwica.v1.tonic::msg_client
,archway.cwica.v1.tonic::msg_server
,archway.rewards.v1.tonic::query_client
,archway.rewards.v1.tonic::query_server
,archway.rewards.v1.tonic::msg_client
,archway.rewards.v1.tonic::msg_server
… - grpc-transport default = grpc
-
Enables grpc-transport of cosmos-sdk-proto, transport of ibc-proto and tonic
- proto-descriptor
-
Enables proto-descriptor of ibc-proto
Affects
archway.callback.v1::FILE_DESCRIPTOR_SET
,archway.cwerrors.v1::FILE_DESCRIPTOR_SET
,archway.cwfees.v1::FILE_DESCRIPTOR_SET
,archway.cwica.v1.abstract::FILE_DESCRIPTOR_SET
,archway.cwica.v1::FILE_DESCRIPTOR_SET
,archway.genmsg.v1.abstract::FILE_DESCRIPTOR_SET
… - abstract-any
-
Replaces all structs that use Any with a generic type
Affects
archway-proto::any
…
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.