Change peer states to dashmap

This commit is contained in:
Igor Katson 2023-11-19 15:47:14 +00:00
parent a745257be2
commit 38c99023ac
No known key found for this signature in database
GPG key ID: B4EC22B66D61A3F5
4 changed files with 261 additions and 269 deletions

14
Cargo.lock generated
View file

@ -364,6 +364,19 @@ dependencies = [
"winapi",
]
[[package]]
name = "dashmap"
version = "5.5.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "978747c1d849a7d2ee5e8adc0159961c48fb7e5db2f06af6723b80123bb53856"
dependencies = [
"cfg-if",
"hashbrown",
"lock_api",
"once_cell",
"parking_lot_core",
]
[[package]]
name = "digest"
version = "0.10.7"
@ -820,6 +833,7 @@ dependencies = [
"bitvec",
"byteorder",
"crypto-hash",
"dashmap",
"futures",
"hex 0.4.3",
"http",