You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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?
Activity
yaml-rust2
tosaphyr
#656epage commentedon Apr 9, 2025
Thanks for bringing
saphyr
to our attention!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 assaphyr
matures.LecrisUT commentedon Apr 10, 2025
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?epage commentedon Apr 10, 2025
The setup I use for all of my libraries is at https://github.com/epage/_rust/blob/main/.github/renovate.json5
LecrisUT commentedon Apr 10, 2025
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