Cargo Features

[dependencies]
cycler = { version = "0.3.0", default-features = false, features = ["allow_unsafe", "unsafe_cleanup", "atomic_cycler"] }
default = allow_unsafe, atomic_cycler, unsafe_cleanup

These default features are set whenever cycler is added without default-features = false somewhere in the dependency tree.

allow_unsafe default atomic_cycler unsafe_cleanup

This feature allows the use of code that involves unsafe.
This can be disabled for assurance that all code is safe.

unsafe_cleanup default = allow_unsafe

This feature allows cleaning of data with unsafe code.
Without this memory leaks will exist when a RwLockCycler is dropped.
This leak may not matter if the cycler lives for the whole program anyway, in which case this feature should be disabled.

atomic_cycler default = allow_unsafe

This feature allows use of the AtomicCycler.
This relies on an usafe atomic lockless lock so requires allow_unsafe

Affects cycler::atomic_cycler