Cargo Features
[dependencies]
maybe-sync = { version = "0.1.1", default-features = false, features = ["alloc", "sync", "unstable-doc"] }
- default = alloc
-
The
alloc
feature is set by default whenevermaybe-sync
is added without
somewhere in the dependency tree.default-features = false - alloc default
- sync = parking_lot
- unstable-doc
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.
- parking_lot sync?
-
Enables parking_lot ^0.10.2