Cargo Features

[dependencies]
bevy_prng = { version = "0.6.0", default-features = false, features = ["serialize", "rand_chacha", "wyrand", "rand_pcg", "rand_xoshiro"] }
default = serialize

The serialize feature is set by default whenever bevy_prng is added without default-features = false somewhere in the dependency tree.

serialize default

Enables serde and serde_derive, serde1 of optional wyrand and serde1 of rand_core, optional rand_chacha, optional rand_pcg, and optional rand_xoshiro

rand_core:

enables serde for BlockRng wrapper

Affects bevy_prng::SeedableEntropySource

Features from optional dependencies

rand_chacha implicit feature

Enables rand_chacha

rand_chacha:

ChaCha random number generator

wyrand implicit feature

Enables wyrand

wyrand:

A fast & portable non-cryptographic pseudorandom number generator and hashing algorithm

rand_pcg implicit feature

Enables rand_pcg

rand_pcg:

Selected PCG random number generators

rand_xoshiro implicit feature

Enables rand_xoshiro

rand_xoshiro:

Xoshiro, xoroshiro and splitmix64 random number generators