Cargo Features
[dependencies]
amity = { version = "0.2.1", default-features = false, features = ["std", "alloc"] }
- default = std
-
The
std
feature is set by default wheneveramity
is added without
somewhere in the dependency tree.default-features = false - std default = alloc
-
Affects
condvar::StdCondVar
,amity::RawMutex
,amity::RawRwLock
,mutex::StdRawMutex
,park::CurrentThread
,rwlock::StdRawRwLock
… - alloc std
-
Affects
amity::flip_queue
,amity::ring_buffer
…