-
Notifications
You must be signed in to change notification settings - Fork 2
Data updates cohesion and policies #4
Comments
Having thought about this for a while, for how to consume the data, I think the best approach is for the library (like i18n-concept) to define and maintain its own data schema. Pros and cons:
In terms of semantic versioning of i18n-concept, CLDR and Unicode data change so often that I think it is impractical to bump the major version for every update. That would result in users being "locked in" to an old version simply as a result of their package system refusing to automatically update to the new major version. (I am speaking based on my knowledge how npm modules work with semantic versioning; let me know if this is different in the Rust ecosystem.) |
I could see something like,
(Note: I am using "i18n-concept" as a placeholder name; this is not intended to be the final name) |
The doc data-pipeline.md in the ICU4X repo covers these issues well. Closing. |
With a number of crates that use data from Unicode and CLDR tables, it would be benefitial to design a policy and scripting around cohesive updates of those to minimize the scenario where one crate uses Unicode 12, while another is stuck on Unicode 11 etc.
Some open questions are like:
rust-icu 65
would depend on all crates in versions using Unicode 12 and CLDR 36)?The text was updated successfully, but these errors were encountered: