You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
which causes ahash to use fixed entropy to generate keys. I don't see how to configure hashbrown so that it depends on ahash with compile-time-rng? (w/o forking/patching the crate)
Am I missing something?
The text was updated successfully, but these errors were encountered:
Hashbrown doesn't make any guarantees about the hasher and opts for the fastest performance. If you have specific requirements for a random seed then you should use the ahash crate directly.
Yes, this is not your issue (and thank you for the subtle pointer to the
_with_capacity_and_hasher api). I've tracked this down to the latest rev
of the const-random crate that ahash depends on--it breaks my no_std usage.
We've been using hashbrown in an embedded environment (no os rng) with:
hashbrown = { version = "0.11", features = ["ahash-compile-time-rng"] }
recent (maybe) changes removed the "ahash-compile-time-rng" feature. The current hashbrown Cargo.toml depends on ahash with:
ahash = { version = "0.8.0", default-features = false, optional = true }
which causes ahash to use fixed entropy to generate keys. I don't see how to configure hashbrown so that it depends on ahash with compile-time-rng? (w/o forking/patching the crate)
Am I missing something?
The text was updated successfully, but these errors were encountered: