Cargo Features

[dependencies]
rand-functors = { version = "0.7.0", default-features = false, features = ["std", "alloc"] }
default = std

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

std default = alloc

Enables std of rand

rand:

Option (enabled by default): without "std" rand uses libcore; this option enables functionality expected to be available on a standard platform.

Affects unique_enumerator::UniqueEnumerator

alloc std

Enables alloc of rand

rand:

Option: "alloc" enables support for Vec and Box when not using "std"

Affects enumerator::Enumerator