mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 22:32:46 +00:00
Bug 1899177 - Part 1: Enable "icu_calendar" feature from ICU4X. r=spidermonkey-reviewers,supply-chain-reviewers,glandium,sylvestre,mgaudet
Enable the "icu_calendar" feature from ICU4X for use in Temporal. Differential Revision: https://phabricator.services.mozilla.com/D211762
This commit is contained in:
parent
7463f1d9f4
commit
5dec3913a3
@ -1,10 +1,10 @@
|
||||
--- a/intl/icu_capi/Cargo.toml 2023-11-23 00:55:29.801649858 +0900
|
||||
+++ b/intl/icu_capi/Cargo.toml 2023-11-23 00:57:49.528753911 +0900
|
||||
@@ -190,19 +190,8 @@
|
||||
@@ -190,20 +190,10 @@
|
||||
"icu_experimental?/serde",
|
||||
]
|
||||
compiled_data = [
|
||||
- "icu_calendar?/compiled_data",
|
||||
"icu_calendar?/compiled_data",
|
||||
- "icu_casemap?/compiled_data",
|
||||
- "icu_collator?/compiled_data",
|
||||
- "icu_datetime?/compiled_data",
|
||||
@ -20,3 +20,4 @@
|
||||
]
|
||||
cpp_default = ["logging"]
|
||||
default = [
|
||||
"compiled_data",
|
||||
|
@ -190,6 +190,7 @@ buffer_provider = [
|
||||
"icu_experimental?/serde",
|
||||
]
|
||||
compiled_data = [
|
||||
"icu_calendar?/compiled_data",
|
||||
"icu_properties?/compiled_data",
|
||||
"icu_segmenter?/compiled_data",
|
||||
]
|
||||
|
@ -15,7 +15,7 @@ encoding_c_mem = "0.2.4"
|
||||
smoosh = { path = "../../frontend/smoosh", optional = true }
|
||||
mozglue-static = { path = "../../../../mozglue/static/rust" }
|
||||
gluesmith = { path = "../../fuzz-tests/gluesmith", optional = true }
|
||||
icu_capi = { version = "1.5.0", optional = true, default-features= false, features = ["any_provider", "compiled_data", "icu_segmenter"] }
|
||||
icu_capi = { version = "1.5.0", optional = true, default-features= false, features = ["any_provider", "compiled_data", "icu_calendar", "icu_segmenter"] }
|
||||
unicode-bidi-ffi = { path = "../../../../intl/bidi/rust/unicode-bidi-ffi" }
|
||||
|
||||
[features]
|
||||
|
@ -329,6 +329,8 @@ Please commit or stash these changes before vendoring, or re-run with `--ignore-
|
||||
# product but has a license-file that needs ignoring
|
||||
"fuchsia-cprng": "03b114f53e6587a398931762ee11e2395bfdba252a329940e2c8c9e81813845b",
|
||||
# ICU4X uses Unicode v3 license
|
||||
"icu_calendar": ICU4X_LICENSE_SHA256,
|
||||
"icu_calendar_data": ICU4X_LICENSE_SHA256,
|
||||
"icu_collections": ICU4X_LICENSE_SHA256,
|
||||
"icu_locid": ICU4X_LICENSE_SHA256,
|
||||
"icu_locid_transform": ICU4X_LICENSE_SHA256,
|
||||
|
@ -922,6 +922,12 @@ who = "Mike Hommey <mh+mozilla@glandium.org>"
|
||||
criteria = "safe-to-deploy"
|
||||
delta = "1.3.0 -> 1.4.0"
|
||||
|
||||
[[audits.calendrical_calculations]]
|
||||
who = "André Bargull <andre.bargull@gmail.com>"
|
||||
criteria = "safe-to-deploy"
|
||||
version = "0.1.0"
|
||||
notes = "This has no unsafe code and uses no ambient capabilities."
|
||||
|
||||
[[audits.camino]]
|
||||
who = "Mike Hommey <mh+mozilla@glandium.org>"
|
||||
criteria = "safe-to-deploy"
|
||||
@ -2340,6 +2346,18 @@ who = "Mike Hommey <mh+mozilla@glandium.org>"
|
||||
criteria = "safe-to-run"
|
||||
delta = "0.14.23 -> 0.14.24"
|
||||
|
||||
[[audits.icu_calendar]]
|
||||
who = "André Bargull <andre.bargull@gmail.com>"
|
||||
criteria = "safe-to-deploy"
|
||||
version = "1.4.0"
|
||||
notes = "This has no unsafe code and uses no ambient capabilities."
|
||||
|
||||
[[audits.icu_calendar_data]]
|
||||
who = "André Bargull <andre.bargull@gmail.com>"
|
||||
criteria = "safe-to-deploy"
|
||||
version = "1.4.0"
|
||||
notes = "This crate is data only for icu_calendar. There is no filesystem / network access."
|
||||
|
||||
[[audits.icu_capi]]
|
||||
who = "Makoto Kato <m_kato@ga2.so-net.ne.jp>"
|
||||
criteria = "safe-to-deploy"
|
||||
|
@ -1499,6 +1499,7 @@ licences.
|
||||
#ifdef MOZ_PERFETTO
|
||||
<code>third_party/perfetto/</code><br/>
|
||||
#endif
|
||||
<code>third_party/rust/calendrical_calculations</code><br/>
|
||||
</p>
|
||||
|
||||
<pre>
|
||||
@ -5086,6 +5087,8 @@ Database section 7.
|
||||
<ul>
|
||||
<li><code>intl/icu_capi</code></li>
|
||||
<li><code>intl/icu_segmenter_data</code></li>
|
||||
<li><code>third_party/rust/icu_calendar</code></li>
|
||||
<li><code>third_party/rust/icu_calendar_data</code></li>
|
||||
<li><code>third_party/rust/icu_collections</code></li>
|
||||
<li><code>third_party/rust/icu_locid</code></li>
|
||||
<li><code>third_party/rust/icu_locid_transform</code></li>
|
||||
|
Loading…
Reference in New Issue
Block a user