Cargo Features
[dependencies]
ibc-types-transfer = { version = "0.14.1", default-features = false, features = ["std", "upgrade_client", "mocks", "mocks-no-std", "with_serde", "parity-scale-codec", "scale-info", "borsh"] }
- default = std
-
The
std
feature is set by default wheneveribc-types-transfer
is added without
somewhere in the dependency tree.default-features = false - std default
-
Enables std of displaydoc and serde
serde:
Provide impls for common standard library types like Vec<T> and HashMap<K, V>.
Requires a dependency on the Rust standard library. - upgrade_client
-
This feature guards the unfinished implementation of the
UpgradeClient
handler. - mocks = cfg-if, parking_lot, tendermint-testgen
-
This feature grants access to development-time mocking libraries, such as
MockContext
orMockHeader
. Depends on thetestgen
suite for generating Tendermint light blocks. - mocks-no-std = cfg-if
- with_serde = serde, serde_derive
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.
- serde_derive with_serde?
-
Enables serde_derive
Proto definitions for all IBC-related interfaces, e.g., connections or channels.
- serde std with_serde?
- parity-scale-codec implicit feature
-
Enables parity-scale-codec
for codec encode or decode
- scale-info implicit feature
-
Enables scale-info
scale-info:
Info about SCALE encodable Rust types
- borsh implicit feature
-
Enables borsh ^0.10.0
for borsh encode or decode
- parking_lot mocks?
- cfg-if mocks? mocks-no-std?
- tendermint-testgen mocks?
-
Enables tendermint-testgen ^0.33