random 0.9.0

The package provides sources of randomness.
Documentation

Random Version Status

The packages provides sources of randomness.

Documentation

Example

use random::Source;

let mut source = random::default().seed([42, 69]);

let one = source.read::<f64>();
let two = source.iter().take(2).collect::<Vec<f64>>();

Contributing

  1. Fork the project.
  2. Implement your idea.
  3. Open a pull request.