Conversation
89fd57b to
a0fd6e9
Compare
|
I might be missing something, but I don't understand why this makes a difference from a semver perspective:
Is it that the version of the baked data and the version of |
|
The problem is that the interface between
Yes I think if you want to continue to use custom data you'll have to (however I think you should migrate to compiled data anyway) Decoupling data versioning and code versioning (by having two crates which Cargo can resolve somewhat independently) also has the potential for confusing behaviour when some user's Cargo decides to resolve a combination that you've never tested. We've been burnt by this in ICU4X. |
|
I think Parley could avoid these issues by simply bumping the major version of the |
|
Yes that is a way to avoid these issues, but you have to be careful with this. I don't see the advantage of having the data in a separate crate. |
Having a semver boundary in what is essentially an implementation detail might complicate improvements in the future. ICU4X baked data in particular does not have stability guarantees across even minor versions. Moving the data to the
parleycrate also simplifies some code.