Cargo Features

[dependencies]
maitake-sync = { version = "0.1.2", default-features = false, features = ["alloc", "no-cache-pad", "core-error", "tracing"] }
default = alloc

The alloc feature is set by default whenever maitake-sync is added without default-features = false somewhere in the dependency tree.

alloc default

Enables alloc of cordyceps

no-cache-pad

Enables no-cache-pad of cordyceps

cordyceps:

Inhibits cache padding for the CachePadded struct used for many linked list pointers When this feature is NOT enabled, the size will be determined based on target platform. See the documentation of CachePadded for more details.

core-error

Features from optional dependencies

tracing implicit feature

Enables tracing

tracing:

Application-level tracing for Rust