Cargo Features

[dependencies]
smolcrush = { version = "0.2.1", default-features = false, features = ["all", "system-rng", "32bit", "64bit", "splitmix32", "splitmix64", "wyrand", "xorshift32", "xorshift64", "xorshift64star", "xorshift128", "xorshift128plus", "xorshift1024plus", "xorshift1024star", "kiss", "swb32", "swb64", "xorwow", "zeroize"] }
default = wyrand, xorwow

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

all = 32bit, 64bit, system-rng
system-rng all?

Enables getrandom, getrandom of rand_core

32bit all? = kiss, splitmix32, swb32, xorshift128, xorshift32, xorwow
64bit all? = splitmix64, swb64, xorshift1024plus, xorshift1024star, xorshift128plus, xorshift64, xorshift64star
splitmix32 32bit? swb32? xorshift128? xorwow

splitmix

Affects pseudo::splitmix32

splitmix64 64bit? swb64? xorshift1024plus? xorshift1024star? xorshift128plus?

Affects pseudo::splitmix64

wyrand default

Affects pseudo::wyrand

xorshift32 32bit?

xorshift

Affects pseudo::xorshift32

xorshift64 64bit?

Affects pseudo::xorshift64

xorshift64star 64bit?

Affects pseudo::xorshift64star

xorshift128 32bit? = splitmix32

Affects pseudo::xorshift128

xorshift128plus 64bit? = splitmix64

Affects pseudo::xorshift128plus

xorshift1024plus 64bit? = splitmix64

Affects pseudo::xorshift1024plus

xorshift1024star 64bit? = splitmix64

Affects pseudo::xorshift1024star

kiss 32bit?

other George Marsaglia PRNGs

Affects pseudo::kiss

swb32 32bit? = splitmix32

Affects pseudo::swb32

swb64 64bit? = splitmix64

Affects pseudo::swb64

xorwow default 32bit? = splitmix32

Affects pseudo::xorwow

Features from optional dependencies

zeroize implicit feature