Cargo Features

[dependencies]
qcell = { version = "0.5.4", default-features = false, features = ["std", "alloc", "generativity", "exclusion-set"] }
default = std

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

std default = alloc, once_cell

Enables std of optional exclusion-set

Affects qcell::doctest_tcell, qcell::doctest_tlcell

alloc std

Affects qcell::doctest_qcell, qcell::QCellOwner

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

once_cell std
generativity implicit feature

Enables generativity

generativity:

Generation of unique invariant lifetimes

Affects qcell::doctest_lcell_generativity

exclusion-set implicit feature

Enables exclusion-set

exclusion-set:

a lock-free concurrent set