Cargo Features
[dependencies]
constdefault = { version = "1.0.1", default-features = false, features = ["std", "alloc", "derive", "unstable", "enable-atomics", "unstable-docs"] }
- default = enable-atomics
-
The
enable-atomics
feature is set by default wheneverconstdefault
is added without
somewhere in the dependency tree.default-features = false - std = alloc
- alloc std?
- derive = constdefault-derive
- unstable
-
Affects
constdefault::constdefault
… - enable-atomics default
- unstable-docs
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.