smol-rs / fastrand

A simple and fast random number generator
Apache License 2.0
409 stars 35 forks source link

Expose missing fill method in global_rng module #90

Closed TheJokr closed 1 month ago

TheJokr commented 1 month ago

I recently had a use case for Rng::fill, but had to instantiate a new Rng because the method isn't exposed from the crate's global one. All the other Rng methods are present in mod global_rng, so I figured it's an oversight.

TheJokr commented 1 month ago

Looks like rustsec/audit-check renamed their master branch to main, which makes the CI pipeline fail. I updated the reference and made it work again.