1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
//! Pure rust implementation of the [`java.util.Random`] class.
//!
//! # Examples
//!
//! ```
//! use javarandom::JavaRandom;
//!
//! // Create a JavaRandom instance with a random seed
//! let mut random = JavaRandom::new();
//!
//! println!("Random number between 0.0 and 1.0: {}", random.next_float());
//! ```
//!
//! [`java.util.Random`]: https://docs.oracle.com/javase/8/docs/api/java/util/Random.html

#![forbid(unsafe_code)]
#![warn(missing_docs)]

mod java_random;
pub use java_random::*;