get rid of dep: namespaced features

This commit is contained in:
theoddgarlic 2022-08-02 10:06:04 +00:00
parent d6eac85d43
commit 34ac6c711e

View file

@ -17,8 +17,8 @@ rand_core = { version = "0.6", default-features = false, optional = true, featur
[features]
default = ["rng", "pcg_rng", "io"]
# Controls availability of the `rand` module, which provides seeding for `rand` (the crate) RNGs.
rng = ["dep:rand_core"]
rng = ["rand_core"]
# Controls the availability of `obtain_rng`, which internally uses `rand_pcg`.
pcg_rng = ["rng", "dep:rand_pcg"]
pcg_rng = ["rng", "rand_pcg"]
# Controls the availability of the cross platform `io` module.
io = ["dep:once_cell"]
io = ["once_cell"]