Cargo Features
[dependencies]
crossbeam-skiplist = { version = "0.1.3", default-features = false, features = ["std", "alloc"] }
- default = std
-
The
std
feature is set by default whenevercrossbeam-skiplist
is added without
somewhere in the dependency tree.default-features = false - std default = alloc
-
Enable to use APIs that require
std
. This is enabled by default.Enables std of crossbeam-epoch and crossbeam-utils
Affects
crossbeam-skiplist::map
,crossbeam-skiplist::set
… - alloc std
-
Enable to use APIs that require
alloc
. This is enabled by default and also enabled if thestd
feature is enabled.NOTE: Disabling both
std
andalloc
features is not supported yet.Enables alloc of crossbeam-epoch
Affects
crossbeam-skiplist::base
…