Cargo Features

[dependencies]
objectpool = { version = "0.1.0", default-features = false, features = ["std", "alloc", "loom"] }
default = std

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

std default

Enables crossbeam-queue

crossbeam-queue:

Enable to use APIs that require std. This is enabled by default.

alloc

Enables alloc of crossbeam-queue

crossbeam-queue:

Enable to use APIs that require alloc. This is enabled by default and also enabled if the std feature is enabled.

NOTE: Disabling both std and alloc features is not supported yet.

Features from optional dependencies

loom implicit feature

Enables loom

loom:

Permutation testing for concurrent code