From 46527e07b095a2a00be75cb5ee521cc27fe6c571 Mon Sep 17 00:00:00 2001 From: John Nunley Date: Fri, 7 Apr 2023 12:02:02 -0700 Subject: [PATCH] Mention no_std support in the docs (#58) --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 560caa5..70da00b 100644 --- a/README.md +++ b/README.md @@ -83,6 +83,12 @@ let rng = fastrand::Rng::new(); let mut bytes: Vec = repeat_with(|| rng.u8(..)).take(10_000).collect(); ``` +# Features + +- `std` (enabled by default): Enables the `std` library. This is required for the global + generator and global entropy. Without this feature, [`Rng`] can only be instantiated using + the [`with_seed`](Rng::with_seed) method. + ## License Licensed under either of