Cargo Features

[dependencies]
amity = { version = "0.6.3", default-features = false, features = ["std", "alloc", "spin", "ring-buffer", "flip-queue", "triple", "broad", "parking_lot"] }
default = std

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

std default = alloc

Affects condvar::StdCondVar, mutex::StdRawMutex, park::CurrentThread, rwlock::StdRawRwLock

alloc broad? ring-buffer? std
spin broad? flip-queue?

Affects amity::spin

ring-buffer flip-queue? = alloc

Affects amity::ring_buffer

flip-queue = ring-buffer, spin

Affects amity::flip_queue

triple broad?

Affects amity::triple

broad = alloc, spin, triple

Affects amity::broad

Features from optional dependencies

parking_lot implicit feature

Enables parking_lot

parking_lot:

More compact and efficient implementations of the standard synchronization primitives