Cargo Features
[dependencies]
neutron-proto = { version = "0.1.1", default-features = false, features = ["cosmwasm", "grpc", "grpc-transport"] }
- default = grpc-transport
-
The
grpc-transport
feature is set by default wheneverneutron-proto
is added without
somewhere in the dependency tree.default-features = false - cosmwasm
-
Enables stargate of cosmwasm-std ^1.2
cosmwasm-std:
stargate enables stargate-dependent messages and queries, like raw protobuf messages as well as ibc-related functionality
- grpc grpc-transport = tonic
-
Enables grpc of cosmos-sdk-proto ^0.19
Affects
neutron.contractmanager.tonic::query_client
,neutron.contractmanager.tonic::query_server
,neutron.cron.tonic::query_client
,neutron.cron.tonic::query_server
,neutron.cron.tonic::msg_client
,neutron.cron.tonic::msg_server
,neutron.feeburner.tonic::query_client
,neutron.feeburner.tonic::query_server
,neutron.feerefunder.tonic::query_client
,neutron.feerefunder.tonic::query_server
,neutron.interchainqueries.tonic::msg_client
,neutron.interchainqueries.tonic::msg_server
,neutron.interchainqueries.tonic::query_client
,neutron.interchainqueries.tonic::query_server
,neutron.interchaintxs.tonic::query_client
,neutron.interchaintxs.tonic::query_server
,neutron.interchaintxs.v1.tonic::msg_client
,neutron.interchaintxs.v1.tonic::msg_server
,neutron.transfer.tonic::msg_client
,neutron.transfer.tonic::msg_server
… - grpc-transport default = grpc
-
Enables grpc-transport of cosmos-sdk-proto ^0.19, transport of tonic ^0.9
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.
- cosmwasm-std cosmwasm?
-
Enables cosmwasm-std ^1.2
- tonic grpc? grpc-transport
-
Enables tonic ^0.9