Cargo Features
[dependencies]
pui-core = { version = "0.5.2", default-features = false, features = ["std", "alloc", "parking_lot"] }
- default = std
-
The
std
feature is set by default wheneverpui-core
is added without
somewhere in the dependency tree.default-features = false - std default = alloc, once_cell
- alloc std
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.
- once_cell std
- parking_lot implicit feature
-
Enables parking_lot ^0.11
parking_lot:
More compact and efficient implementations of the standard synchronization primitives