rand_core

Crates.iorand_core
lib.rsrand_core
version0.10.0-rc-6
created_at2017-09-14 12:02:18.709038+00
updated_at2026-01-24 09:27:40.959246+00
descriptionCore random number generation traits and tools for implementation.
homepagehttps://rust-random.github.io/book
repositoryhttps://github.com/rust-random/rand_core
max_upload_size
id31712
size74,455
maintainers (github:rust-random:maintainers)

documentation

https://docs.rs/rand_core

README

rand_core: core random number generation traits

crate Docs Apache2/MIT licensed Build Status

This crate provides a collection of traits used by implementations of Random Number Generation (RNG) algorithms. Additionally, it includes helper utilities that assist with the implementation of these traits.

Note that the traits focus solely on the core RNG functionality. Most users should prefer the rand crate, which offers more advanced RNG capabilities built on these core traits, such as sampling from restricted ranges, generating floating-point numbers, list permutations, and more.

License

The crate is licensed under either of:

at your option.

Commit count: 361

cargo fmt