Cargo Features

[dependencies]
namedlock = { version = "0.7.0", default-features = false, features = ["std", "spin", "core_collections", "parking_lot"] }
default = std

The std feature is set by default whenever namedlock is added without default-features = false somewhere in the dependency tree.

std default

Features from optional dependencies

spin implicit feature

Enables spin ^0.4.0

spin:

Spin-based synchronization primitives

core_collections implicit feature
parking_lot implicit feature

Enables parking_lot ^0.7

parking_lot:

More compact and efficient implementations of the standard synchronization primitives