Cargo Features
[dependencies]
nomt-core = { version = "1.0.3", default-features = false, features = ["std", "borsh", "blake3-hasher", "sha2-hasher", "serde"] }
- default = blake3-hasher, sha2-hasher, std
-
These default features are set whenever
nomt-coreis added withoutsomewhere in the dependency tree.default-features = false - std default
-
Enables std of bitvec, optional borsh, and optional serde
bitvec:
The standard library includes the allocator.
- borsh
-
Enables borsh
- blake3-hasher default
-
Enables blake3
- sha2-hasher default
-
Enables sha2
Affects
hasher::sha2… - serde
-
serde:
Provide impls for types in the Rust core allocation and collections library including String, Box<T>, Vec<T>, and Cow<T>. This is a subset of std but may be enabled without depending on all of std.