File tree Expand file tree Collapse file tree 3 files changed +10
-5
lines changed Expand file tree Collapse file tree 3 files changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,10 @@ serde_json = "1.0"
4242thiserror = " 1.0"
4343tokio = " 1.0"
4444unic-langid = " 0.9"
45+ icu_locid = " 1.4"
46+ icu_provider = " 1.4"
47+ icu_decimal = " 1.4"
48+ fixed_decimal = " 0.5"
4549
4650fluent-bundle = { version = " 0.15.3" , path = " fluent-bundle" }
4751fluent-fallback = { version = " 0.7.1" , path = " fluent-fallback" }
Original file line number Diff line number Diff 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" ] }
2828fluent-langneg.workspace = true
2929fluent-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" ] }
3333intl_pluralrules.workspace = true
3434rustc-hash.workspace = true
3535unic-langid.workspace = true
@@ -40,7 +40,7 @@ smallvec = "1.13"
4040[dev-dependencies ]
4141criterion.workspace = true
4242iai.workspace = true
43- icu_testdata = " 1"
43+ icu_testdata = " 1.4 "
4444serde = { workspace = true , features = [" derive" ] }
4545unic-langid = { workspace = true , features = [" macros" ] }
4646rand = " 0.8"
Original file line number Diff line number Diff line change @@ -178,6 +178,7 @@ fn fluent_number_to_operands() {
178178fn 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 ) ;
You can’t perform that action at this time.
0 commit comments