Skip to content

Commit

Permalink
Mention no_std support in the docs (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
notgull authored Apr 7, 2023
1 parent 5706126 commit 46527e0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 46527e0

Please sign in to comment.