You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rand is a Rust library supporting random generators:
9
+
Rand is a set of crates supporting (pseudo-)random generators:
10
10
11
-
-A standard RNG trait: [`rand_core::RngCore`](https://docs.rs/rand_core/latest/rand_core/trait.RngCore.html)
12
-
-Fast implementations of the best-in-class [cryptographic](https://rust-random.github.io/book/guide-rngs.html#cryptographically-secure-pseudo-random-number-generators-csprngs) and
13
-
[non-cryptographic](https://rust-random.github.io/book/guide-rngs.html#basic-pseudo-random-number-generators-prngs) generators: [`rand::rngs`](https://docs.rs/rand/latest/rand/rngs/index.html), and more RNGs: [`rand_chacha`](https://docs.rs/rand_chacha), [`rand_xoshiro`](https://docs.rs/rand_xoshiro/), [`rand_pcg`](https://docs.rs/rand_pcg/), [rngs repo](https://github.com/rust-random/rngs/)
14
-
-[`rand::rng`](https://docs.rs/rand/latest/rand/fn.rng.html) is an asymtotically-fast, reasonably secure generator available on all `std` targets
15
-
-Secure seeding via the [`getrandom` crate](https://crates.io/crates/getrandom)
11
+
-Built over a standard RNG trait: [`rand_core::RngCore`](https://docs.rs/rand_core/latest/rand_core/trait.RngCore.html)
12
+
-With fast implementations of both [strong](https://rust-random.github.io/book/guide-rngs.html#cryptographically-secure-pseudo-random-number-generators-csprngs) and
13
+
[small](https://rust-random.github.io/book/guide-rngs.html#basic-pseudo-random-number-generators-prngs) generators: [`rand::rngs`](https://docs.rs/rand/latest/rand/rngs/index.html), and more RNGs: [`rand_chacha`](https://docs.rs/rand_chacha), [`rand_xoshiro`](https://docs.rs/rand_xoshiro/), [`rand_pcg`](https://docs.rs/rand_pcg/), [rngs repo](https://github.com/rust-random/rngs/)
14
+
-[`rand::rng`](https://docs.rs/rand/latest/rand/fn.rng.html) is an asymptotically-fast, automatically-seeded and reasonably strong generator available on all `std` targets
15
+
-Direct support for seeding generators from the [`getrandom` crate](https://crates.io/crates/getrandom)
16
16
17
-
Supporting random value generation and random processes:
17
+
With broad support for random value generation and random processes:
18
18
19
-
-[`Standard`](https://docs.rs/rand/latest/rand/distributions/struct.Standard.html) random value generation
20
-
-Ranged[`Uniform`](https://docs.rs/rand/latest/rand/distributions/struct.Uniform.html) number generation for many types
21
-
-A flexible [`distributions`](https://docs.rs/rand/*/rand/distr/index.html) module
22
-
- Samplers for a large number of random number distributions via our own
19
+
-[`Standard`](https://docs.rs/rand/latest/rand/distributions/struct.Standard.html) random value sampling,
20
+
[`Uniform`](https://docs.rs/rand/latest/rand/distributions/struct.Uniform.html)-ranged value sampling
21
+
and [more](https://docs.rs/rand/latest/rand/distr/index.html)
22
+
- Samplers for a large number of non-uniform random number distributions via our own
23
23
[`rand_distr`](https://docs.rs/rand_distr) and via
24
24
the [`statrs`](https://docs.rs/statrs/0.13.0/statrs/)
25
25
- Random processes (mostly choose and shuffle) via [`rand::seq`](https://docs.rs/rand/latest/rand/seq/index.html) traits
0 commit comments