Bug 1854031 - Part 2. Allow Unicode License V3 to vendor rust for ICU4X 1.4. r=glandium

See https://phabricator.services.mozilla.com/D193036#6423271 for Unicode License V3.

Depends on D192902

Differential Revision: https://phabricator.services.mozilla.com/D192900
This commit is contained in:
Makoto Kato 2023-12-04 09:02:27 +00:00
parent 5a8f82efb4
commit cc4f5bdadf

View file

@ -312,7 +312,7 @@ Please commit or stash these changes before vendoring, or re-run with `--ignore-
# define the SHA256 once here, to make the review process easier as new
# ICU4X crates are vendored into the tree.
ICU4X_LICENSE_SHA256 = (
"02420cc1b4c26d9a3318d60fd57048d015831249a5b776a1ada75cd227e78630"
"853f87c96f3d249f200fec6db1114427bc8bdf4afddc93c576956d78152ce978"
)
# This whitelist should only be used for packages that use a
@ -329,9 +329,23 @@ Please commit or stash these changes before vendoring, or re-run with `--ignore-
# we're whitelisting this fuchsia crate because it doesn't get built in the final
# product but has a license-file that needs ignoring
"fuchsia-cprng": "03b114f53e6587a398931762ee11e2395bfdba252a329940e2c8c9e81813845b",
# Old ICU4X crates for ICU4X 1.0, see comment above.
# ICU4X uses Unicode v3 license
"icu_collections": ICU4X_LICENSE_SHA256,
"icu_locid": ICU4X_LICENSE_SHA256,
"icu_locid_transform": ICU4X_LICENSE_SHA256,
"icu_provider": ICU4X_LICENSE_SHA256,
"icu_provider_adapters": ICU4X_LICENSE_SHA256,
"icu_provider_macros": ICU4X_LICENSE_SHA256,
"icu_segmenter": ICU4X_LICENSE_SHA256,
"litemap": ICU4X_LICENSE_SHA256,
"tinystr": ICU4X_LICENSE_SHA256,
"writeable": ICU4X_LICENSE_SHA256,
"yoke": ICU4X_LICENSE_SHA256,
"yoke-derive": ICU4X_LICENSE_SHA256,
"zerofrom": ICU4X_LICENSE_SHA256,
"zerofrom-derive": ICU4X_LICENSE_SHA256,
"zerovec": ICU4X_LICENSE_SHA256,
"zerovec-derive": ICU4X_LICENSE_SHA256,
}
@staticmethod