diff --git a/Cargo.lock b/Cargo.lock index 18cfcd8ca0..dd8ef47a04 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2896,6 +2896,7 @@ dependencies = [ name = "veloren-client" version = "0.3.0" dependencies = [ + "hashbrown 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", "num_cpus 1.10.1 (registry+https://github.com/rust-lang/crates.io-index)", "specs 0.14.3 (registry+https://github.com/rust-lang/crates.io-index)", diff --git a/client/Cargo.toml b/client/Cargo.toml index 8ea392a195..1bcc0e1b41 100644 --- a/client/Cargo.toml +++ b/client/Cargo.toml @@ -12,3 +12,4 @@ num_cpus = "1.10.1" log = "0.4.8" specs = "0.14.2" vek = "0.9.8" +hashbrown = "0.5.0" diff --git a/client/src/lib.rs b/client/src/lib.rs index 80921ec42f..37d70a6011 100644 --- a/client/src/lib.rs +++ b/client/src/lib.rs @@ -15,9 +15,9 @@ use common::{ vol::VolSize, ChatType, }; +use hashbrown::HashMap; use log::{info, log_enabled, warn}; use std::{ - collections::HashMap, net::SocketAddr, sync::Arc, time::{Duration, Instant},