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 whenevernmt-rs
is added without
somewhere in the dependency tree.default-features = false - 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
nmt-rs has 4 features without comments.