mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Update hashbrown
This commit is contained in:
parent
2d3303384a
commit
48dfac6f8b
30
Cargo.lock
generated
30
Cargo.lock
generated
@ -2802,8 +2802,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|||||||
checksum = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e"
|
checksum = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"ahash 0.8.11",
|
"ahash 0.8.11",
|
||||||
"rayon",
|
|
||||||
"serde",
|
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
@ -2814,6 +2812,8 @@ checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1"
|
|||||||
dependencies = [
|
dependencies = [
|
||||||
"ahash 0.8.11",
|
"ahash 0.8.11",
|
||||||
"allocator-api2",
|
"allocator-api2",
|
||||||
|
"rayon",
|
||||||
|
"serde",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
@ -7075,7 +7075,7 @@ dependencies = [
|
|||||||
"authc",
|
"authc",
|
||||||
"byteorder",
|
"byteorder",
|
||||||
"clap",
|
"clap",
|
||||||
"hashbrown 0.13.2",
|
"hashbrown 0.14.5",
|
||||||
"hickory-resolver",
|
"hickory-resolver",
|
||||||
"image",
|
"image",
|
||||||
"num 0.4.3",
|
"num 0.4.3",
|
||||||
@ -7109,7 +7109,7 @@ dependencies = [
|
|||||||
"fluent",
|
"fluent",
|
||||||
"fluent-bundle",
|
"fluent-bundle",
|
||||||
"fluent-syntax",
|
"fluent-syntax",
|
||||||
"hashbrown 0.13.2",
|
"hashbrown 0.14.5",
|
||||||
"intl-memoizer",
|
"intl-memoizer",
|
||||||
"serde",
|
"serde",
|
||||||
"tracing",
|
"tracing",
|
||||||
@ -7133,7 +7133,7 @@ dependencies = [
|
|||||||
"dot_vox",
|
"dot_vox",
|
||||||
"enum-map",
|
"enum-map",
|
||||||
"fxhash",
|
"fxhash",
|
||||||
"hashbrown 0.13.2",
|
"hashbrown 0.14.5",
|
||||||
"indexmap",
|
"indexmap",
|
||||||
"itertools 0.10.5",
|
"itertools 0.10.5",
|
||||||
"kiddo",
|
"kiddo",
|
||||||
@ -7171,7 +7171,7 @@ version = "0.10.0"
|
|||||||
dependencies = [
|
dependencies = [
|
||||||
"assets_manager",
|
"assets_manager",
|
||||||
"dot_vox",
|
"dot_vox",
|
||||||
"hashbrown 0.13.2",
|
"hashbrown 0.14.5",
|
||||||
"image",
|
"image",
|
||||||
"lazy_static",
|
"lazy_static",
|
||||||
"ron",
|
"ron",
|
||||||
@ -7226,7 +7226,7 @@ dependencies = [
|
|||||||
name = "veloren-common-i18n"
|
name = "veloren-common-i18n"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"hashbrown 0.13.2",
|
"hashbrown 0.14.5",
|
||||||
"rand 0.8.5",
|
"rand 0.8.5",
|
||||||
"serde",
|
"serde",
|
||||||
]
|
]
|
||||||
@ -7237,7 +7237,7 @@ version = "0.10.0"
|
|||||||
dependencies = [
|
dependencies = [
|
||||||
"bincode",
|
"bincode",
|
||||||
"flate2",
|
"flate2",
|
||||||
"hashbrown 0.13.2",
|
"hashbrown 0.14.5",
|
||||||
"image",
|
"image",
|
||||||
"num-traits",
|
"num-traits",
|
||||||
"serde",
|
"serde",
|
||||||
@ -7256,7 +7256,7 @@ dependencies = [
|
|||||||
"bincode",
|
"bincode",
|
||||||
"bytes",
|
"bytes",
|
||||||
"futures",
|
"futures",
|
||||||
"hashbrown 0.13.2",
|
"hashbrown 0.14.5",
|
||||||
"hex",
|
"hex",
|
||||||
"num_cpus",
|
"num_cpus",
|
||||||
"rayon",
|
"rayon",
|
||||||
@ -7308,7 +7308,7 @@ dependencies = [
|
|||||||
"criterion",
|
"criterion",
|
||||||
"crossbeam-channel",
|
"crossbeam-channel",
|
||||||
"futures-util",
|
"futures-util",
|
||||||
"hashbrown 0.13.2",
|
"hashbrown 0.14.5",
|
||||||
"lazy_static",
|
"lazy_static",
|
||||||
"lz-fear",
|
"lz-fear",
|
||||||
"prometheus",
|
"prometheus",
|
||||||
@ -7336,7 +7336,7 @@ dependencies = [
|
|||||||
"bitflags 2.5.0",
|
"bitflags 2.5.0",
|
||||||
"bytes",
|
"bytes",
|
||||||
"criterion",
|
"criterion",
|
||||||
"hashbrown 0.13.2",
|
"hashbrown 0.14.5",
|
||||||
"prometheus",
|
"prometheus",
|
||||||
"rand 0.8.5",
|
"rand 0.8.5",
|
||||||
"tokio",
|
"tokio",
|
||||||
@ -7363,7 +7363,7 @@ dependencies = [
|
|||||||
"atomic_refcell",
|
"atomic_refcell",
|
||||||
"enum-map",
|
"enum-map",
|
||||||
"fxhash",
|
"fxhash",
|
||||||
"hashbrown 0.13.2",
|
"hashbrown 0.14.5",
|
||||||
"itertools 0.10.5",
|
"itertools 0.10.5",
|
||||||
"rand 0.8.5",
|
"rand 0.8.5",
|
||||||
"rand_chacha 0.3.1",
|
"rand_chacha 0.3.1",
|
||||||
@ -7391,7 +7391,7 @@ dependencies = [
|
|||||||
"drop_guard",
|
"drop_guard",
|
||||||
"enum-map",
|
"enum-map",
|
||||||
"futures-util",
|
"futures-util",
|
||||||
"hashbrown 0.13.2",
|
"hashbrown 0.14.5",
|
||||||
"humantime",
|
"humantime",
|
||||||
"itertools 0.10.5",
|
"itertools 0.10.5",
|
||||||
"lazy_static",
|
"lazy_static",
|
||||||
@ -7507,7 +7507,7 @@ dependencies = [
|
|||||||
"gilrs",
|
"gilrs",
|
||||||
"glyph_brush",
|
"glyph_brush",
|
||||||
"guillotiere",
|
"guillotiere",
|
||||||
"hashbrown 0.13.2",
|
"hashbrown 0.14.5",
|
||||||
"iced_native",
|
"iced_native",
|
||||||
"iced_winit",
|
"iced_winit",
|
||||||
"image",
|
"image",
|
||||||
@ -7609,7 +7609,7 @@ dependencies = [
|
|||||||
"fixed",
|
"fixed",
|
||||||
"flate2",
|
"flate2",
|
||||||
"fxhash",
|
"fxhash",
|
||||||
"hashbrown 0.13.2",
|
"hashbrown 0.14.5",
|
||||||
"image",
|
"image",
|
||||||
"indicatif",
|
"indicatif",
|
||||||
"itertools 0.10.5",
|
"itertools 0.10.5",
|
||||||
|
@ -142,7 +142,7 @@ prometheus-hyper = "0.2"
|
|||||||
|
|
||||||
strum = { version = "0.24", features = ["derive"] }
|
strum = { version = "0.24", features = ["derive"] }
|
||||||
enum-map = { version = "2.4" }
|
enum-map = { version = "2.4" }
|
||||||
hashbrown = { version = "0.13", features = ["rayon", "serde", "nightly"] }
|
hashbrown = { version = "0.14", features = ["rayon", "serde", "nightly"] }
|
||||||
fxhash = { version = "0.2.1" }
|
fxhash = { version = "0.2.1" }
|
||||||
crossbeam-utils = { version = "0.8.1" }
|
crossbeam-utils = { version = "0.8.1" }
|
||||||
crossbeam-channel = { version = "0.5" }
|
crossbeam-channel = { version = "0.5" }
|
||||||
|
@ -322,7 +322,7 @@ impl GraphicCache {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
self.cache_map.drain_filter(|key, details| {
|
let _ = self.cache_map.extract_if(|key, details| {
|
||||||
if key.graphic_id == id {
|
if key.graphic_id == id {
|
||||||
match details {
|
match details {
|
||||||
// NOTE: if replace_graphic is used continously for small images (i.e.
|
// NOTE: if replace_graphic is used continously for small images (i.e.
|
||||||
|
Loading…
Reference in New Issue
Block a user