Mention no_std support in the docs (#58)

This commit is contained in:
John Nunley 2023-04-07 12:02:02 -07:00 committed by GitHub
parent 5706126c92
commit 46527e07b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -83,6 +83,12 @@ let rng = fastrand::Rng::new();
let mut bytes: Vec<u8> = 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