Cargo Features

[dependencies]
bolero-generator = { version = "0.12.0", default-features = false, features = ["std", "alloc", "any", "arbitrary"] }
default = any, either, std

These default features are set whenever bolero-generator is added without default-features = false somewhere in the dependency tree.

std default any = alloc

Enables use_std of either

Affects bolero-generator::trace, bolero-generator::ValueGenerator.trace

alloc std

Enables alloc of rand_core

rand_core:

enables Vec and Box support without std

Affects driver::cache, driver::exhaustive, bolero-generator::alloc_generators

any default = getrandom, rand_xoshiro, std

Affects bolero-generator::any

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.

arbitrary implicit feature

Enables arbitrary

arbitrary:

The trait for generating structured data from unstructured data

Affects bolero-generator::arbitrary

either default std
getrandom any
rand_xoshiro any