mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Use hashbrown
This commit is contained in:
parent
89b6111064
commit
911bf974f3
1
Cargo.lock
generated
1
Cargo.lock
generated
@ -5650,6 +5650,7 @@ dependencies = [
|
|||||||
"assets_manager",
|
"assets_manager",
|
||||||
"deunicode",
|
"deunicode",
|
||||||
"git2",
|
"git2",
|
||||||
|
"hashbrown",
|
||||||
"lazy_static",
|
"lazy_static",
|
||||||
"ron",
|
"ron",
|
||||||
"serde",
|
"serde",
|
||||||
|
@ -10,6 +10,7 @@ name = "i18n-check"
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
lazy_static = "1.4.0"
|
lazy_static = "1.4.0"
|
||||||
|
hashbrown = { version = "0.9", features = ["serde", "nightly"] }
|
||||||
assets_manager = {version = "0.4.2", features = ["bincode", "ron", "json", "hot-reloading"]}
|
assets_manager = {version = "0.4.2", features = ["bincode", "ron", "json", "hot-reloading"]}
|
||||||
deunicode = "1.0"
|
deunicode = "1.0"
|
||||||
ron = "0.6"
|
ron = "0.6"
|
||||||
|
@ -5,7 +5,7 @@ use std::{
|
|||||||
path::{Path, PathBuf},
|
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
|
/// The reference language, aka the more up-to-date localization data. Also the
|
||||||
/// default language at first startup.
|
/// default language at first startup.
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
use crate::assets::{self, AssetExt, AssetGuard, AssetHandle};
|
use crate::assets::{self, AssetExt, AssetGuard, AssetHandle};
|
||||||
use deunicode::deunicode;
|
use deunicode::deunicode;
|
||||||
|
use hashbrown::{HashMap, HashSet};
|
||||||
use serde::{Deserialize, Serialize};
|
use serde::{Deserialize, Serialize};
|
||||||
use std::collections::{HashMap, HashSet};
|
|
||||||
use tracing::warn;
|
use tracing::warn;
|
||||||
|
|
||||||
/// The reference language, aka the more up-to-date localization data.
|
/// The reference language, aka the more up-to-date localization data.
|
||||||
|
Loading…
Reference in New Issue
Block a user