rand_isaac/
lib.rs

1// Copyright 2018 Developers of the Rand project.
2//
3// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
4// https://www.apache.org/licenses/LICENSE-2.0> or the MIT license
5// <LICENSE-MIT or https://opensource.org/licenses/MIT>, at your
6// option. This file may not be copied, modified, or distributed
7// except according to those terms.
8
9//! The ISAAC and ISAAC-64 random number generators.
10
11#![doc(html_logo_url = "https://www.rust-lang.org/logos/rust-logo-128x128-blk.png",
12       html_favicon_url = "https://www.rust-lang.org/favicon.ico",
13       html_root_url = "https://rust-random.github.io/rand/")]
14
15#![deny(missing_docs)]
16#![deny(missing_debug_implementations)]
17#![doc(test(attr(allow(unused_variables), deny(warnings))))]
18
19#![cfg_attr(not(all(feature="serde1", test)), no_std)]
20
21extern crate rand_core;
22
23#[cfg(feature="serde1")] extern crate serde;
24#[cfg(feature="serde1")] #[macro_use] extern crate serde_derive;
25
26// To test serialization we need bincode and the standard library
27#[cfg(all(feature="serde1", test))] extern crate bincode;
28#[cfg(all(feature="serde1", test))] extern crate std as core;
29
30pub mod isaac;
31pub mod isaac64;
32
33mod isaac_array;
34
35pub use self::isaac::IsaacRng;
36pub use self::isaac64::Isaac64Rng;