Cargo Features
[dependencies]
dfo = { version = "0.1.0-beta.5", default-features = false, features = ["std", "libm"] }
- default = num-traits, std
-
These default features are set whenever
dfo
is added without
somewhere in the dependency tree.default-features = false - std default
-
Enables std of num-traits and serde
serde:
Provide impls for common standard library types like Vec<T> and HashMap<K, V>.
Requires a dependency on the Rust standard library. - libm
-
Enables libm of num-traits
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.
- num-traits default libm? std
- serde std