build(egui): depend on icu_{experimental,locid} directly to reduce deps

This commit is contained in:
Alain Emilia Anna Zscheile 2024-11-28 17:18:57 +01:00
parent 66cdf6fe4e
commit 070fe2c176
2 changed files with 4 additions and 8 deletions

View File

@ -13,6 +13,8 @@ derive-getters.workspace = true
egui = "0.29" egui = "0.29"
fluent-templates = "0.11" fluent-templates = "0.11"
geo.workspace = true geo.workspace = true
icu_experimental = "0.1"
icu_locid = "1.5"
log = "0.4" log = "0.4"
petgraph.workspace = true petgraph.workspace = true
rfd = "0.15" rfd = "0.15"
@ -30,10 +32,6 @@ default-features = false
version = "0.9.5" version = "0.9.5"
features = ["macros", "serde"] features = ["macros", "serde"]
[dependencies.icu]
version = "1.5.0"
features = ["experimental"]
[dependencies.eframe] [dependencies.eframe]
version = "0.29" version = "0.29"
default-features = false default-features = false

View File

@ -1,7 +1,5 @@
use icu::{ use icu_experimental::displaynames::{DisplayNamesOptions, Fallback, LocaleDisplayNamesFormatter};
experimental::displaynames::{DisplayNamesOptions, Fallback, LocaleDisplayNamesFormatter}, use icu_locid::{locale, LanguageIdentifier, Locale};
locid::{locale, LanguageIdentifier, Locale},
};
use std::{borrow::Cow, ops::ControlFlow, path::Path, sync::mpsc::Sender}; use std::{borrow::Cow, ops::ControlFlow, path::Path, sync::mpsc::Sender};
use topola::{ use topola::{