Cargo Features

[dependencies]
ibc-types-identifier = { version = "0.14.1", default-features = false, features = ["std", "with_serde", "upgrade_client", "mocks", "mocks-no-std", "parity-scale-codec", "scale-info", "borsh"] }
default = std

The std feature is set by default whenever ibc-types-identifier is added without default-features = false somewhere in the dependency tree.

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.

with_serde = serde, serde_derive
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 or MockHeader. Depends on the testgen suite for generating Tendermint light blocks.

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.

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