Skip to content

Commit 56aba88

Browse files
authored
deps: disable rust icu compiled_data features
PR-URL: #62284 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
1 parent f68824a commit 56aba88

File tree

2 files changed

+15
-6
lines changed

2 files changed

+15
-6
lines changed

deps/crates/Cargo.lock

Lines changed: 0 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

deps/crates/Cargo.toml

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,25 +12,36 @@ crate-type = ["staticlib"]
1212

1313
[dependencies]
1414
# Pin all temporal dependencies to the last version support rustc 1.82
15-
icu_calendar = "~2.0.0"
16-
icu_calendar_data = "~2.0.0"
1715
icu_collections = "~2.0.0"
18-
icu_locale = "~2.0.0"
1916
icu_locale_core = "~2.0.0"
20-
icu_locale_data = "~2.0.0"
2117
icu_provider = "~2.0.0"
2218
timezone_provider = "=0.1.0"
2319

2420
[dependencies.temporal_capi]
2521
version = "=0.1.0"
2622
features = ["zoneinfo64"]
23+
default-features = false
2724

2825
[dependencies.temporal_rs]
2926
version = "=0.1.0"
3027
default-features = false
3128
# This is necessary to enable a spec-compliance quirk when upgrading to v0.1.2
3229
# features = ["float64_representable_durations"]
3330

31+
# Disable `icu_calendar_data` and `icu_locale_data` crates with disabling
32+
# `compiled_data` features. However these datasets are still enabled until
33+
# https://github.com/boa-dev/temporal/pull/694 lands.
34+
[dependencies.icu_calendar]
35+
version = "~2.0.0"
36+
features = [
37+
"ixdtf", # Parser for Internet eXtended DateTime Format
38+
]
39+
default-features = false
40+
41+
[dependencies.icu_locale]
42+
version = "~2.0.0"
43+
default-features = false
44+
3445
[patch.crates-io]
3546
# Float https://github.com/unicode-org/icu4x/pull/7658 until crate is updated.
3647
resb = { path="patches/resb" }

0 commit comments

Comments
 (0)