I\'m trying to use rand::SmallRng. The documentation says
This PRNG is feature-gated: to use, you must enable the crate feature
Specify the dependencies in Cargo.toml like so:
[dependencies] rand = { version = "0.7.2", features = ["small_rng"] }
Alternatively:
[dependencies.rand] version = "0.7.2" features = ["small_rng"]
Both work.