Cargo Features

nodrop = { version = "0.1.14", default-features = false, features = ["std", "use_needs_drop", "use_union"] }
default = std

The std feature is set by default whenever nodrop is added without default-features = false somewhere in the dependency tree.

std default

Default, requires Rust 1.6+ to disable
Use libstd


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.

nodrop-union use_union?