4 ms·
> All of these are great crates, but do I need all of this just to generate a random number? You can use getrandom directly. getrandom v0.3.1 ├── cfg-if v
by koakuma-chan 2y ago
> All of these are great crates, but do I need all of this just to generate a random number?
You can use getrandom directly.
getrandom v0.3.1
├── cfg-if v1.0.0
└── libc v0.2.169
- koakuma-chan 2y agoI personally use aws_lc_rs's random since I have it for TLS anyway, https://docs.rs/aws-lc-rs/latest/aws_lc_rs/rand/index.html https://docs.rs/aws-lc-rs/latest/aws_lc_rs/rand/index.html