Cargo Features
[dependencies]
ibc-types-core-client = { version = "0.14.1", default-features = false, features = ["std", "parity-scale-codec", "borsh", "with_serde", "upgrade_client", "mocks", "mocks-no-std"] }
- default = std
-
The
std
feature is set by default wheneveribc-types-core-client
is added without
somewhere in the dependency tree.default-features = false - std default
-
Enables clock and std of tendermint ^0.34.0 and std of bytes, displaydoc, ibc-proto ^0.42.2, ibc-types-identifier, ibc-types-timestamp, ics23 ^0.11.3, num-traits, prost ^0.12, serde, serde_json, sha2, and subtle-encoding
serde:
Provide impls for common standard library types like Vec<T> and HashMap<K, V>.
Requires a dependency on the Rust standard library. - parity-scale-codec
-
Enables parity-scale-codec and scale-info
- borsh
-
Enables borsh ^0.10.0
- with_serde = serde, serde_derive, serde_json
-
This feature is required for token transfer (ICS-20)
Enables serde of ibc-proto ^0.42.2
- upgrade_client
-
This feature guards the unfinished implementation of the
UpgradeClient
handler. - mocks = cfg-if
-
This feature grants access to development-time mocking libraries, such as
MockContext
orMockHeader
. Depends on thetestgen
suite for generating Tendermint light blocks.Enables clock of tendermint ^0.34.0
- mocks-no-std = cfg-if
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.