rand_hc/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 HC128 random number generator.
10//!
11//! To initialize a generator, use the [`SeedableRng`][rand_core::SeedableRng] trait.
12
13#![doc(
14 html_logo_url = "https://www.rust-lang.org/logos/rust-logo-128x128-blk.png",
15 html_favicon_url = "https://www.rust-lang.org/favicon.ico",
16 html_root_url = "https://rust-random.github.io/rand/"
17)]
18#![forbid(unsafe_code)]
19#![deny(missing_docs)]
20#![deny(missing_debug_implementations)]
21#![doc(test(attr(allow(unused_variables), deny(warnings))))]
22#![no_std]
23
24mod hc128;
25
26pub use hc128::{Hc128Core, Hc128Rng};