Prepping for turborand 0.6 release, by taking advantage of more flexible trait implementations to improve ergonomics around components/resources, as well as improving the APIs for the crate itself. This does include breaking changes however, so this will represent a new major version for bevy_turborand 0.3.
Major Changes included:
SecureRng based component & resource, using ChaCha8 based source. Intended for cases needing higher quality entropy sources.
DelegatedRng trait, allowing for more flexible APIs around Rng & SecureRng based components/resources. Enables possibility to create own PRNGs & component variants on top of the provided DelegatedRng and turborand traits and be compatible with the crate's components.
Better rand ergonomics, by providing as_rand method to return a RandBorrowed struct to shim the underlying PRNG from a component or resource, allowing for use of rand crates within systems more easily.
Granular features, so to enable only what you need from the crate. No default features has the crate only exporting traits to allow one to write their own components/resources.
Builder pattern for RngPlugin, so to allow simpler configuration of potentially one or two Global sources of RNG.
Prepping for
turborand
0.6 release, by taking advantage of more flexible trait implementations to improve ergonomics around components/resources, as well as improving the APIs for the crate itself. This does include breaking changes however, so this will represent a new major version forbevy_turborand
0.3.Major Changes included:
SecureRng
based component & resource, using ChaCha8 based source. Intended for cases needing higher quality entropy sources.DelegatedRng
trait, allowing for more flexible APIs aroundRng
&SecureRng
based components/resources. Enables possibility to create own PRNGs & component variants on top of the providedDelegatedRng
andturborand
traits and be compatible with the crate's components.rand
ergonomics, by providingas_rand
method to return aRandBorrowed
struct to shim the underlying PRNG from a component or resource, allowing for use ofrand
crates within systems more easily.RngPlugin
, so to allow simpler configuration of potentially one or two Global sources of RNG.