Cargo Features
[dependencies]
cpf = { version = "0.3.2", default-features = false, features = ["std", "full", "serde"] }
- default = std
-
The
std
feature is set by default whenevercpf
is added without
somewhere in the dependency tree.default-features = false - std default full?
-
serde:
Provide impls for common standard library types like Vec<T> and HashMap<K, V>.
Requires a dependency on the Rust standard library. - full = rand, serde, std
- serde full?
-
Enables serde
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.