Cargo Features
[dependencies]
bevy_turborand = { version = "0.10.0", default-features = false, features = ["wyrand", "chacha", "serialize", "rand"] }
- default = serialize, wyrand
-
These default features are set whenever
bevy_turborand
is added without
somewhere in the dependency tree.default-features = false - wyrand default
-
turborand:
Enables Rng
Affects
component::rng
,global::rng
… - chacha
-
turborand:
Enables ChaChaRng
Affects
component::chacha
,global::chacha
… - serialize default
-
Enables serde and serialize of turborand
turborand:
Enables serialisation/deserialisation
- rand
-
turborand:
Enables compatibility wrappers for interop with rand
Affects
traits::DelegatedRng.as_rand
…