Cargo Features

[dependencies]
ics23 = { version = "0.12.0", default-features = false, features = ["std", "host-functions", "serde"] }
default = host-functions, std

These default features are set whenever ics23 is added without default-features = false somewhere in the dependency tree.

std default

Enables std of anyhow, bytes, hex, informalsystems-pbjson, prost, 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.

host-functions default = blake2, blake3, ripemd, sha2, sha3
serde std = informalsystems-pbjson

Enables serde

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.

blake2 host-functions
blake3 host-functions
ripemd host-functions
sha2 host-functions
sha3 host-functions
informalsystems-pbjson serde? std