Cargo Features
bevy_prng has no features set by default.
[dependencies]
bevy_prng = { version = "0.11.0", features = ["std", "bevy_reflect", "serialize", "rand_chacha", "wyrand", "rand_pcg", "rand_xoshiro", "compat"] }
- std
-
Enables std of optional rand_chacha
- bevy_reflect
-
Enables bevy_reflect
Affects
bevy_prng::TypedSeed
,bevy_prng::RngReflectable
,xoshiro::Seed512
… - serialize
-
Enables serde, serde1 of optional wyrand and serde of rand_core, optional rand_chacha, optional rand_pcg, and optional rand_xoshiro
rand_core:
enables serde for BlockRng wrapper
Affects
bevy_prng::EntropySource
,bevy_prng::EntropySeed
… - rand_chacha
-
Enables rand_chacha
- wyrand
-
Enables wyrand
- rand_pcg
-
Enables rand_pcg
- rand_xoshiro
-
Enables rand_xoshiro
- compat
-
Enables rand_core ^0.6.4