-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
snafu-derive syn is still in v1.0 #379
Comments
Yeah, I've been eyeing that. The "problem" is that it also comes with a MSRV bump, which means SNAFU will have to have a MSRV bump and thus bump the minor version. Bumping the MSRV should also involve checking and cleaning things like the Rust 1.56 was 2021-10-21, so hopefully people will have been able to upgrade by now. Have you tried bumping the syn version / any ideas what kind of changes are needed? |
As a point of reference, Debian has Rust 1.63 in its stable release, 1.48 in "oldstable", and 1.41 in "oldoldstable" (long-term support out to 2024-06-30). Alpine Linux 3.15 and newer have Rust 1.56 and newer; Alpine 3.10, the oldest not-completely-unsupported version covered by the package catalog, has Rust 1.34. I'm not sure any other distro both packages Rust and is conservative in updating it similarly to Debian; Debian at least is the most famous. Fedora, Ubuntu, Arch, Gentoo, NixOS, and Guix seem to have Rust 1.56 or newer available for all supported releases of the distro (if it's not rolling-release), and I'm not sure OpenSUSE packages Rust at all except in a rolling-release version, in which Rust appears to be updated frequently. |
Just gave it a try. The trickiest part was adjusting the A good deal of the code changes would still be around requiring Rust 1.56, mostly to clean up conditional attributes and removing outdated content. |
Sure, feel free to open that as a PR where we can iterate and comment. Comments I would have left and we can discuss on the PR
|
I'd like to say that I, supporting generous MSRVs, appreciate SNAFU's current generosity in its MSRV, but I, getting it for free, don't ask that that generosity be in any way permanent, particularly if it's incurring the cost in time-to-compile of an otherwise unnecessary and not small dependency. |
A major version of syn (v2.0) was released a while ago. In my projects, all other syn dependents but snafu have done the jump. Would you be interested in a PR to migrate syn to version 2?
The text was updated successfully, but these errors were encountered: