Skip to content

Commit 55f6483

Browse files
use workspace versions for icu crates
1 parent 1564a02 commit 55f6483

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@ serde_json = "1.0"
4242
thiserror = "1.0"
4343
tokio = "1.0"
4444
unic-langid = "0.9"
45+
icu_locid = "1.4"
46+
icu_provider = "1.4"
47+
icu_decimal = "1.4"
48+
fixed_decimal = "0.5"
4549

4650
fluent-bundle = { version = "0.15.3", path = "fluent-bundle" }
4751
fluent-fallback = { version = "0.7.1", path = "fluent-fallback" }

fluent-bundle/Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@ include = [
2424
]
2525

2626
[dependencies]
27-
fixed_decimal = { version = "0.5.1", features = ["ryu"] }
27+
fixed_decimal = { workspace = true, features = ["ryu"] }
2828
fluent-langneg.workspace = true
2929
fluent-syntax.workspace = true
30-
icu_decimal = "1"
31-
icu_locid = "1"
32-
icu_provider = { version = "1", features = ["sync"] }
30+
icu_decimal.workspace = true
31+
icu_locid.workspace = true
32+
icu_provider = { workspace = true, features = ["sync"] }
3333
intl_pluralrules.workspace = true
3434
rustc-hash.workspace = true
3535
unic-langid.workspace = true
@@ -40,7 +40,7 @@ smallvec = "1.13"
4040
[dev-dependencies]
4141
criterion.workspace = true
4242
iai.workspace = true
43-
icu_testdata = "1"
43+
icu_testdata = "1.4"
4444
serde = { workspace = true, features = ["derive"] }
4545
unic-langid = { workspace = true, features = ["macros"] }
4646
rand = "0.8"

fluent-bundle/tests/types_test.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,7 @@ fn fluent_number_to_operands() {
178178
fn fluent_number_grouping() {
179179
let langid_ars = langid!("ccp");
180180
let mut bundle: FluentBundle<FluentResource> = FluentBundle::new(vec![langid_ars]);
181+
#[allow(deprecated)]
181182
bundle.set_icu_data_provider(Box::new(icu_testdata::any_no_fallback()));
182183

183184
let mut number = FluentNumber::from(1234567890.1234567);

0 commit comments

Comments
 (0)