1
0
mirror of https://github.com/emilk/egui.git synced 2026-09-02 06:40:06 -04:00

Update ahash to 0.8.1 (#2255)

This commit is contained in:
Emil Ernerfeldt
2022-11-07 09:23:45 +01:00
committed by GitHub
parent 7434a7d7d5
commit e48602059d
5 changed files with 30 additions and 19 deletions

View File

@@ -56,7 +56,10 @@ serde = ["dep:serde", "ahash/serde", "emath/serde"]
emath = { version = "0.19.0", path = "../emath" }
ab_glyph = "0.2.11"
ahash = "0.8"
ahash = { version = "0.8.1", default-features = false, features = [
"no-rng", # we don't need DOS-protection, so we let users opt-in to it instead
"std",
] }
nohash-hasher = "0.2"
#! ### Optional dependencies
@@ -77,7 +80,7 @@ serde = { version = "1", optional = true, features = ["derive", "rc"] }
# native:
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
backtrace = { version = "0.3", optional = true }
parking_lot = "0.12" # Using parking_lot over std::sync::Mutex gives 50% speedups in some real-world scenarios.
parking_lot = "0.12" # Using parking_lot over std::sync::Mutex gives 50% speedups in some real-world scenarios.
# web:
[target.'cfg(target_arch = "wasm32")'.dependencies]