Cargo Features
[dependencies]
rand_mt = { version = "4.2.2", default-features = false, features = ["rand-traits", "std"] }
- default = rand-traits, std
-
These default features are set whenever
rand_mt
is added without
somewhere in the dependency tree.default-features = false - rand-traits default = rand_core
- std default
-
Enables
std::error::Error
impls.
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.
- rand_core rand-traits
-
Enables rand_core
0.6.1 is vulnerable to underfilling a buffer.