9 stable releases
1.2.1 | Jun 10, 2020 |
---|---|
1.2.0 |
|
1.1.1 | Mar 13, 2020 |
1.0.5 | Sep 17, 2019 |
1.0.0 | Aug 31, 2018 |
#9 in #inclusive
35 downloads per month
6KB
110 lines
Random Integer
This crate was deprecated, use random-number
instead.
https://crates.io/crates/random-number
Crates.io
https://crates.io/crates/random-integer
Documentation
https://docs.rs/random-integer
License
lib.rs
:
Random Integer
Generate a random integer between two integer numbers (including the two integer numbers).
Example
extern crate random_integer;
let rnd = random_integer::random_u8(224, 255);
println!("{}", rnd);
Dependencies
~1.4–2MB
~37K SLoC