Cargo Features
[dependencies]
rand-functors = { version = "0.8.0", default-features = false, features = ["std", "alloc"] }
- default = std
-
The
std
feature is set by default wheneverrand-functors
is added without
somewhere in the dependency tree.default-features = false - std default = alloc
-
rand:
Option (enabled by default): without "std" rand uses libcore; this option enables functionality expected to be available on a standard platform.
- alloc std
-
rand:
Option: "alloc" enables support for Vec and Box when not using "std"
rand-functors has 3 features without comments.