Cargo Features
[dependencies]
tokenlock = { version = "0.3.8", default-features = false, features = ["std", "alloc", "doc_cfg", "const-default_1"] }
- default = std
-
The
std
feature is set by default whenevertokenlock
is added without
somewhere in the dependency tree.default-features = false - std default = alloc, spin
-
Affects
tokenlock::ic
… - alloc std
-
Affects
tokenlock::arc
,tokenlock::rc
… - unstable doc_cfg
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.
- spin std
- const-default_1 implicit feature
-
Enables const-default
const-default:
A const Default trait