File tree 3 files changed +10
-5
lines changed
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"
42
42
thiserror = " 1.0"
43
43
tokio = " 1.0"
44
44
unic-langid = " 0.9"
45
+ icu_locid = " 1.4"
46
+ icu_provider = " 1.4"
47
+ icu_decimal = " 1.4"
48
+ fixed_decimal = " 0.5"
45
49
46
50
fluent-bundle = { version = " 0.15.3" , path = " fluent-bundle" }
47
51
fluent-fallback = { version = " 0.7.1" , path = " fluent-fallback" }
Original file line number Diff line number Diff line change @@ -24,12 +24,12 @@ include = [
24
24
]
25
25
26
26
[dependencies ]
27
- fixed_decimal = { version = " 0.5.1 " , features = [" ryu" ] }
27
+ fixed_decimal = { workspace = true , features = [" ryu" ] }
28
28
fluent-langneg.workspace = true
29
29
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" ] }
33
33
intl_pluralrules.workspace = true
34
34
rustc-hash.workspace = true
35
35
unic-langid.workspace = true
@@ -40,7 +40,7 @@ smallvec = "1.13"
40
40
[dev-dependencies ]
41
41
criterion.workspace = true
42
42
iai.workspace = true
43
- icu_testdata = " 1"
43
+ icu_testdata = " 1.4 "
44
44
serde = { workspace = true , features = [" derive" ] }
45
45
unic-langid = { workspace = true , features = [" macros" ] }
46
46
rand = " 0.8"
Original file line number Diff line number Diff line change @@ -178,6 +178,7 @@ fn fluent_number_to_operands() {
178
178
fn fluent_number_grouping ( ) {
179
179
let langid_ars = langid ! ( "ccp" ) ;
180
180
let mut bundle: FluentBundle < FluentResource > = FluentBundle :: new ( vec ! [ langid_ars] ) ;
181
+ #[ allow( deprecated) ]
181
182
bundle. set_icu_data_provider ( Box :: new ( icu_testdata:: any_no_fallback ( ) ) ) ;
182
183
183
184
let mut number = FluentNumber :: from ( 1234567890.1234567 ) ;
You can’t perform that action at this time.
0 commit comments