Skip to main content

bevy_rand/
lib.rs

1#![allow(clippy::type_complexity)]
2#![warn(clippy::undocumented_unsafe_blocks)]
3#![cfg_attr(docsrs, feature(doc_cfg))]
4#![cfg_attr(docsrs, allow(unused_attributes))]
5#![warn(missing_docs)]
6#![no_std]
7#![doc = include_str!("../README.md")]
8
9extern crate alloc;
10
11#[cfg(feature = "std")]
12extern crate std;
13
14/// Command extensions for relating groups of RNGs.
15pub mod commands;
16/// Global PRNG sources, with query helpers.
17pub mod global;
18/// Utility observers for handling seeding between parent/child entropy sources
19pub mod observers;
20/// Utility query/system parameters for accessing RNGs.
21pub mod params;
22/// Plugin for integrating [`rand_core::Rng`] PRNGs into bevy. Must be newtyped to support [`bevy_reflect::Reflect`].
23pub mod plugin;
24/// Prelude for providing all necessary types for easy use.
25pub mod prelude;
26/// Seed Components for seeding PRNG components.
27pub mod seed;
28/// Traits for enabling utility methods for PRNG components.
29pub mod traits;
30#[cfg(doc)]
31pub mod tutorial;