Cargo Features
[dependencies]
double-ratchet-rs = { version = "0.4.6", default-features = false, features = ["std", "hashbrown"] }
- default = hashbrown
-
The
hashbrown
feature is set by default wheneverdouble-ratchet-rs
is added without
somewhere in the dependency tree.default-features = false - std
-
Enables use-std of postcard and std of serde, sha2, and zeroize
serde:
Provide impls for common standard library types like Vec<T> and HashMap<K, V>.
Requires a dependency on the Rust standard library.
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.
- hashbrown default
-
Enables hashbrown ^0.14