Upgrade hashbrown and indexmap crates

This commit is contained in:
Joakim Frostegård 2023-07-30 20:32:30 +02:00
parent 99d8436117
commit 7f01f4024a
7 changed files with 49 additions and 17 deletions

52
Cargo.lock generated
View file

@ -58,6 +58,12 @@ dependencies = [
"memchr", "memchr",
] ]
[[package]]
name = "allocator-api2"
version = "0.2.16"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0942ffc6dcaadf03badf6e6a2d0228460359d5e34b57ccdc720b7382dfbd5ec5"
[[package]] [[package]]
name = "anes" name = "anes"
version = "0.1.6" version = "0.1.6"
@ -98,10 +104,10 @@ dependencies = [
"duplicate", "duplicate",
"git-testament", "git-testament",
"glommio", "glommio",
"hashbrown 0.13.2", "hashbrown 0.14.0",
"hex", "hex",
"hwloc", "hwloc",
"indexmap", "indexmap 2.0.0",
"libc", "libc",
"log", "log",
"privdrop", "privdrop",
@ -157,7 +163,7 @@ dependencies = [
"futures-lite", "futures-lite",
"futures-rustls", "futures-rustls",
"glommio", "glommio",
"hashbrown 0.13.2", "hashbrown 0.14.0",
"log", "log",
"mimalloc", "mimalloc",
"quickcheck", "quickcheck",
@ -233,7 +239,7 @@ dependencies = [
"constant_time_eq 0.2.6", "constant_time_eq 0.2.6",
"crossbeam-channel", "crossbeam-channel",
"getrandom", "getrandom",
"hashbrown 0.13.2", "hashbrown 0.14.0",
"hdrhistogram", "hdrhistogram",
"hex", "hex",
"io-uring", "io-uring",
@ -282,7 +288,7 @@ dependencies = [
"aquatic_common", "aquatic_common",
"aquatic_toml_config", "aquatic_toml_config",
"aquatic_udp_protocol", "aquatic_udp_protocol",
"hashbrown 0.13.2", "hashbrown 0.14.0",
"mimalloc", "mimalloc",
"mio", "mio",
"quickcheck", "quickcheck",
@ -319,7 +325,7 @@ dependencies = [
"futures-lite", "futures-lite",
"futures-rustls", "futures-rustls",
"glommio", "glommio",
"hashbrown 0.13.2", "hashbrown 0.14.0",
"httparse", "httparse",
"log", "log",
"metrics", "metrics",
@ -369,7 +375,7 @@ version = "0.8.0"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"criterion 0.5.1", "criterion 0.5.1",
"hashbrown 0.13.2", "hashbrown 0.14.0",
"quickcheck", "quickcheck",
"quickcheck_macros", "quickcheck_macros",
"serde", "serde",
@ -604,7 +610,7 @@ checksum = "4ea181bf566f71cb9a5d17a59e1871af638180a18fb0035c92ae62b705207123"
dependencies = [ dependencies = [
"bitflags 1.3.2", "bitflags 1.3.2",
"clap_lex 0.2.4", "clap_lex 0.2.4",
"indexmap", "indexmap 1.9.3",
"textwrap", "textwrap",
] ]
@ -925,6 +931,12 @@ dependencies = [
"regex", "regex",
] ]
[[package]]
name = "equivalent"
version = "1.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5"
[[package]] [[package]]
name = "errno" name = "errno"
version = "0.2.8" version = "0.2.8"
@ -1243,6 +1255,16 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e" checksum = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e"
dependencies = [ dependencies = [
"ahash 0.8.3", "ahash 0.8.3",
]
[[package]]
name = "hashbrown"
version = "0.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2c6201b9ff9fd90a5a3bac2e56a830d0caa509576f0e503818ee82c181b3437a"
dependencies = [
"ahash 0.8.3",
"allocator-api2",
"serde", "serde",
] ]
@ -1379,6 +1401,16 @@ dependencies = [
"hashbrown 0.12.3", "hashbrown 0.12.3",
] ]
[[package]]
name = "indexmap"
version = "2.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d5477fe2230a79769d8dc68e0eabf5437907c0457a5614a9e8dddb67f65eb65d"
dependencies = [
"equivalent",
"hashbrown 0.14.0",
]
[[package]] [[package]]
name = "indicatif" name = "indicatif"
version = "0.17.5" version = "0.17.5"
@ -1664,7 +1696,7 @@ checksum = "8a4964177ddfdab1e3a2b37aec7cf320e14169abb0ed73999f558136409178d5"
dependencies = [ dependencies = [
"base64 0.21.2", "base64 0.21.2",
"hyper", "hyper",
"indexmap", "indexmap 1.9.3",
"ipnet", "ipnet",
"metrics", "metrics",
"metrics-util", "metrics-util",
@ -1694,7 +1726,7 @@ dependencies = [
"crossbeam-epoch", "crossbeam-epoch",
"crossbeam-utils", "crossbeam-utils",
"hashbrown 0.13.2", "hashbrown 0.13.2",
"indexmap", "indexmap 1.9.3",
"metrics", "metrics",
"num_cpus", "num_cpus",
"ordered-float", "ordered-float",

View file

@ -23,9 +23,9 @@ anyhow = "1"
arc-swap = "1" arc-swap = "1"
duplicate = "1" duplicate = "1"
git-testament = "0.2" git-testament = "0.2"
hashbrown = "0.13" hashbrown = "0.14"
hex = "0.4" hex = "0.4"
indexmap = "1" indexmap = "2"
libc = "0.2" libc = "0.2"
log = "0.4" log = "0.4"
privdrop = "0.5" privdrop = "0.5"

View file

@ -21,7 +21,7 @@ aquatic_toml_config.workspace = true
anyhow = "1" anyhow = "1"
futures-lite = "1" futures-lite = "1"
futures-rustls = "0.24" futures-rustls = "0.24"
hashbrown = "0.13" hashbrown = "0.14"
glommio = "0.8" glommio = "0.8"
log = "0.4" log = "0.4"
mimalloc = { version = "0.1", default-features = false } mimalloc = { version = "0.1", default-features = false }

View file

@ -34,7 +34,7 @@ compact_str = "0.7"
constant_time_eq = "0.2" constant_time_eq = "0.2"
crossbeam-channel = "0.5" crossbeam-channel = "0.5"
getrandom = "0.2" getrandom = "0.2"
hashbrown = { version = "0.13", default-features = false } hashbrown = { version = "0.14", default-features = false }
hdrhistogram = "7" hdrhistogram = "7"
hex = "0.4" hex = "0.4"
io-uring = { version = "0.6", optional = true } io-uring = { version = "0.6", optional = true }

View file

@ -22,7 +22,7 @@ aquatic_toml_config.workspace = true
aquatic_udp_protocol.workspace = true aquatic_udp_protocol.workspace = true
anyhow = "1" anyhow = "1"
hashbrown = "0.13" hashbrown = "0.14"
mimalloc = { version = "0.1", default-features = false } mimalloc = { version = "0.1", default-features = false }
mio = { version = "0.8", features = ["net", "os-poll"] } mio = { version = "0.8", features = ["net", "os-poll"] }
rand_distr = "0.4" rand_distr = "0.4"

View file

@ -34,7 +34,7 @@ futures = "0.3"
futures-lite = "1" futures-lite = "1"
futures-rustls = "0.24" futures-rustls = "0.24"
glommio = "0.8" glommio = "0.8"
hashbrown = { version = "0.13", features = ["serde"] } hashbrown = { version = "0.14", features = ["serde"] }
httparse = "1" httparse = "1"
log = "0.4" log = "0.4"
metrics = { version = "0.21", optional = true } metrics = { version = "0.21", optional = true }

View file

@ -21,7 +21,7 @@ harness = false
[dependencies] [dependencies]
anyhow = "1" anyhow = "1"
hashbrown = { version = "0.13", features = ["serde"] } hashbrown = { version = "0.14", features = ["serde"] }
serde = { version = "1", features = ["derive"] } serde = { version = "1", features = ["derive"] }
serde_json = "1" serde_json = "1"
simd-json = { version = "0.10", features = ["allow-non-simd"] } simd-json = { version = "0.10", features = ["allow-non-simd"] }