From 50e992ed0de5477bf48abfd812f1d20b7fd69849 Mon Sep 17 00:00:00 2001 From: juliancoffee Date: Mon, 3 May 2021 22:03:35 +0300 Subject: [PATCH] use hashbrown instead of std::collections --- Cargo.lock | 1 + voxygen/i18n-check/Cargo.toml | 1 + voxygen/i18n-check/src/analysis.rs | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index fcfbe8be7c..d47646cf64 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -5648,6 +5648,7 @@ name = "veloren-i18n-check" version = "0.9.0" dependencies = [ "git2", + "hashbrown", "ron", "serde", "tracing", diff --git a/voxygen/i18n-check/Cargo.toml b/voxygen/i18n-check/Cargo.toml index b8266dcc9e..558cce838a 100644 --- a/voxygen/i18n-check/Cargo.toml +++ b/voxygen/i18n-check/Cargo.toml @@ -13,3 +13,4 @@ serde = { version = "1.0", features = ["derive"] } tracing = "0.1" ron = "0.6" git2 = "0.13" +hashbrown = { version = "0.9", features = ["rayon", "serde", "nightly"] } diff --git a/voxygen/i18n-check/src/analysis.rs b/voxygen/i18n-check/src/analysis.rs index 537fb67795..d7cdf7656d 100644 --- a/voxygen/i18n-check/src/analysis.rs +++ b/voxygen/i18n-check/src/analysis.rs @@ -5,7 +5,7 @@ use std::{ path::{Path, PathBuf}, }; -use std::collections::{HashMap, HashSet}; +use hashbrown::{HashMap, HashSet}; /// The reference language, aka the more up-to-date localization data. Also the /// default language at first startup.