Cargo Features

[dependencies]
nmt-rs = { version = "0.2.3", default-features = false, features = ["std", "borsh", "serde"] }
default = std

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

std default

Enables std of optional borsh, bytes, optional serde, and sha2

serde:

Provide impls for common standard library types like Vec<T> and HashMap<K, V>.
Requires a dependency on the Rust standard library.

borsh

Enables borsh

serde

Enables serde, serde of bytes

nmt-rs has 4 features without comments.