docs.rs failed to build turborand-0.3.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
turborand-0.10.1
turborand
A fast random number generator.
turborand's internal implementation uses Wyrand, a simple and fast
generator but not cryptographically secure.
Examples
use *;
let rand = rng!;
if rand.bool else
Sample a value from a list:
use *;
let rand = rng!;
let values = ;
let value = rand.sample;
Generate a vector with random values:
use *;
use repeat_with;
let rand = rng!;
let values: = repeat_with.take.collect;
License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.