Migrate client to hashbrown.

This commit is contained in:
Acrimon 2019-08-11 21:54:20 +02:00
parent 0bbef0d851
commit 22f318833c
3 changed files with 3 additions and 1 deletions

1
Cargo.lock generated
View File

@ -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)",

View File

@ -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"

View File

@ -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},