Migration from `yaml-rust2` to `saphyr`?
They yaml-rust2 crate is indicating that it is in maintenance mode ^1 and it is recommending migration to saphyr. The issue mentions that these are fairly similar, but I'm not sure if it refers to the API being similar.
Thanks for bringing saphyr to our attention!
it is recommending migration to saphyr.
Maybe I missed something in my read but I didn't quite read it that way. yaml-rust2 is still supported. The distinction mostly comes down to what your tolerance for breaking changes / churn is. The fact that the version is only 0.0.3 communicates a level of instability that I would hesitate to take on at this time. I also would worry for the quality perception people would have in seeing a 0.0.x dependency in their dependency tree.
For now, I lean towards sticking with yaml-rust2 and that we can re-evaluate that as saphyr matures.
My main concern is if yaml-rust2 will get dependencies updated in time. So far neither of them have a dependabot/renovatebot setup. If they plan to keep them both updated, then yeah it would make sense to pick the more stable one for now. I have tried to contribute a renovatebot setup, but I couldn't cook up a minimal one to propose. Maybe you guys have more experience and could make a PR for that?
The setup I use for all of my libraries is at https://github.com/epage/_rust/blob/main/.github/renovate.json5
I thought that one had a required setup of labels and such. But yeah, it could work. I'll make a few PRs for those