Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce
ahash-compile-time-rng
feature.
Disables the default features of `ahash` and reintroduces them through a new feature called `ahash-compile-time-rng`, which is enabled by default. The new feature makes it possible for depended crates to rely on `hashbrown` with `ahash` as default hasher and to disable the `compile-time-rng` at the same time. This might be useful for any dependend crate targeting `no_std`, which contains `rand` or `rand_core` somewhere inside the dependency tree as a bug in cargo accidently enables the underlying `getrandom` feature if `compile-time-rng` is enabled [1]. ... fixes rust-lang#124 [1] rust-lang/cargo#5760
- Loading branch information