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 whenever pui-core is added without default-features = false somewhere in the dependency tree.

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