Cargo Features
[dependencies]
ibc-proto = { version = "0.44.0", default-features = false, features = ["std", "serde", "client", "json-schema", "server", "parity-scale-codec", "borsh", "proto-descriptor"] }
- default = client, std
-
These default features are set whenever
ibc-proto
is added without
somewhere in the dependency tree.default-features = false - std default client json-schema? server?
-
Enables std of base64, bytes, flex-error, ics23, informalsystems-pbjson, prost, and subtle-encoding
Affects
google::protobuf.TimestampOutOfSystemRangeError
… - serde json-schema? = informalsystems-pbjson
- client default = std
-
Enables codegen, prost and transport of tonic
Affects
cosmos.auth.v1beta1::msg_client
,cosmos.auth.v1beta1::query_client
,cosmos.bank.v1beta1::msg_client
,cosmos.bank.v1beta1::query_client
,cosmos.base.node.v1beta1::service_client
,cosmos.base.reflection.v1beta1::reflection_service_client
,cosmos.base.reflection.v2alpha1::reflection_service_client
,cosmos.base.tendermint.v1beta1::service_client
,cosmos.gov.v1::msg_client
,cosmos.gov.v1::query_client
,cosmos.gov.v1beta1::msg_client
,cosmos.gov.v1beta1::query_client
,cosmos.staking.v1beta1::msg_client
,cosmos.staking.v1beta1::query_client
,cosmos.tx.v1beta1::service_client
,cosmos.upgrade.v1beta1::msg_client
,cosmos.upgrade.v1beta1::query_client
… - json-schema = serde, std
-
Enables schemars
- server = std
-
Enables codegen, prost and transport of tonic
Affects
cosmos.auth.v1beta1::msg_server
,cosmos.auth.v1beta1::query_server
,cosmos.bank.v1beta1::msg_server
,cosmos.bank.v1beta1::query_server
,cosmos.base.node.v1beta1::service_server
,cosmos.base.reflection.v1beta1::reflection_service_server
,cosmos.base.reflection.v2alpha1::reflection_service_server
,cosmos.base.tendermint.v1beta1::service_server
,cosmos.gov.v1::msg_server
,cosmos.gov.v1::query_server
,cosmos.gov.v1beta1::msg_server
,cosmos.gov.v1beta1::query_server
,cosmos.staking.v1beta1::msg_server
,cosmos.staking.v1beta1::query_server
,cosmos.tx.v1beta1::service_server
,cosmos.upgrade.v1beta1::msg_server
,cosmos.upgrade.v1beta1::query_server
… - parity-scale-codec
-
Enables parity-scale-codec and scale-info
parity-scale-codec:
Optional: enabled by the
parity-scale-codec
feature - borsh
-
Enables borsh ^0.10
Optional: enabled by the
borsh
feature For borsh encode or decode, needs to trackanchor-lang
andnear-sdk-rs
borsh version - proto-descriptor
-
Affects
ibc-proto::FILE_DESCRIPTOR_SET
…
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.