Both icu_calendar and icu_locale have its own compiled_data feature. This would bring in dependency on icu_calendar_data and icu_locale_data respectively.
If an embedder of temporal_rs already has its own bundled icu data, temporal_rs would still enable the compiled_data feature on icu_locale and thus enable icu_locale_data, duplicating the icu data set in the final product.
(icu_calendar with feature unstable is compiled without compiled_data)
Refs:
|
icu_calendar = { version = "2.1.0", default-features = false, features = ["unstable"] } |
|
icu_locale = "2.1.0" |
Both
icu_calendarandicu_localehave its owncompiled_datafeature. This would bring in dependency onicu_calendar_dataandicu_locale_datarespectively.If an embedder of
temporal_rsalready has its own bundled icu data, temporal_rs would still enable thecompiled_datafeature onicu_localeand thus enableicu_locale_data, duplicating the icu data set in the final product.(
icu_calendarwith featureunstableis compiled withoutcompiled_data)Refs:
temporal/Cargo.toml
Lines 48 to 49 in 71eecd4