Cargo Features
[dependencies]
nodrop = { version = "0.1.14", default-features = false, features = ["std", "use_needs_drop", "use_union"] }
- default = std
-
The
std
feature is set by default whenevernodrop
is added without
somewhere in the dependency tree.default-features = false - std default
-
Default, requires Rust 1.6+ to disable
Use libstd - use_needs_drop
-
Optional, Rust 1.21.0 Use
needs_drop
to skip overwriting if not necessary - use_union = nodrop-union
-
Optional, nightly channel
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.