mirror of
https://github.com/Magnus167/rustframe.git
synced 2025-08-20 04:00:01 +00:00
Add initial implementation of random module with submodules and prelude exports
This commit is contained in:
parent
28793e5b07
commit
5a5baf9716
14
src/random/mod.rs
Normal file
14
src/random/mod.rs
Normal file
@ -0,0 +1,14 @@
|
||||
pub mod crypto;
|
||||
pub mod prng;
|
||||
pub mod random_core;
|
||||
pub mod seq;
|
||||
|
||||
pub use crypto::{crypto_rng, CryptoRng};
|
||||
pub use prng::{rng, Prng};
|
||||
pub use random_core::{RangeSample, Rng};
|
||||
pub use seq::SliceRandom;
|
||||
|
||||
pub mod prelude {
|
||||
pub use super::seq::SliceRandom;
|
||||
pub use super::{crypto_rng, rng, CryptoRng, Prng, RangeSample, Rng};
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user