Closed notgull closed 1 year ago
This PR adds a feature named std. When disabled, the thread-local generator and Rng::new() are disabled. This allows fastrand to be used in no_std environments.
std
Rng::new()
fastrand
no_std
This PR adds a feature named
std
. When disabled, the thread-local generator andRng::new()
are disabled. This allowsfastrand
to be used inno_std
environments.