Cargo Features
[dependencies]
cde = { version = "0.3.7", default-features = false, features = ["no-std", "std", "alloc"] }
- default = std
-
The
std
feature is set by default whenevercde
is added without
somewhere in the dependency tree.default-features = false - no-std = anyhow, data-encoding, data-encoding-macro, phf, thiserror
- std default = data-encoding-macro, thiserror
-
Enables anyhow, data-encoding, and phf ^0.10
- alloc = data-encoding-macro, thiserror
-
Enables anyhow, phf ^0.10, alloc of data-encoding
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.