-
Notifications
You must be signed in to change notification settings - Fork 69
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
Cargo.toml: pumped ring version to 0.17.5 #148
Conversation
I can contribute to updating the MSRV to 1.61 in the workflows/docs (due to ring 0.17 release). I've done the changes on my fork, but it probably makes sense to include them as part of this PR: Changes showing the edit: We're really interesting in updating the ring version as x509-parser is the last crate in our project thin-edge/thin-edge.io that still requires ring 0.16. We're really wanting to use ring 0.17 as it makes compiling for additional targets possible (such as some RISCV targets). |
Hey @reubenmiller, we are waiting on maintainers confirmation on how to proceed, in the meantime you can open a PR in my fork branch, when I push it will be included as part of this PR. |
Though the approver (@cpu) did react positively to my suggestion so I’ll create a PR to your fork shortly. |
Done. aggstam#1 |
@reubenmiller Done. |
Just to be clear my approval here is only informative :-) I have no special permissions compared to other folks. There have been a handful of PRs open for a long time now. Perhaps if someone could get in touch with @chifflier they would be open for help with maintenance from the broader community? |
Thanks for this PR, @aggstam and @reubenmiller! I'm working on a project that would also need this upgrade to a recent version of |
Hi all, In any case, I'm interested in updating all dependencies so I'll start reviewing and merging this PR as soon as possible. |
Hey @chifflier , Thanks for clarifying the situation at hand! I feel you when dealing with LTS stuff... Reading throught RFC2495, your proposal seems to be doable, therefore I can play around testing some config to do that, reflected in the crates tests, checking KR |
According to the links in this page, this PR seems merged, but that is a feature I have never used or seen used. I would definitely be interested in some tests. |
Yeah that should be the goal! |
Hey @chifflier and everyone, So I did some testing based on RFC2495, with the tldr being that We can only notify users about this enforced Since we want to update dependencies, for new/future versions of the crate, we should define Happy to hear your thoughts! Apendix - Testing methodology:
Building completes successfully with no issues. |
@aggstam Thanks for your experimentation. That's useful data for the discussion at hand. @chifflier How firm is your requirement to keep the MSRV at 1.57? Looking around at the ecosystem of similar crates it feels like x509-parser is an outlier in keeping the MSRV so low. I suspect many projects using x509-parser already have to use a newer Rust edition based on having other dependencies they use with x509-parser. 1.57 is over two years old now and even Debian stable is packaging 1.63. I think trying to have a separate MSRV for just the ring feature seems complex and gives mixed results. If the 1.57 MSRV is a firm requirement it might be better to create a stable release branch for x509-parser 0.15.x that maintains the MSRV and move forward with development of a 0.16.x that has an MSRV of 1.61+ |
++ |
…target triples Use a fork of x509-parser which bumps the MSRV as a PR with this update is pending due to complications with the bump in MSRV due to a dependency which is only required by the options "verify" feature. The fork can be removed once rusticata/x509-parser#148 has been merged. Signed-off-by: Reuben Miller <[email protected]>
…target triples Use a fork of x509-parser which bumps the MSRV as a PR with this update is pending due to complications with the bump in MSRV due to a dependency which is only required by the options "verify" feature. The fork can be removed once rusticata/x509-parser#148 has been merged. Signed-off-by: Reuben Miller <[email protected]>
Hi, The MSRV policy aims to support versions from common distros, so 1.63 seems a good target.
I agree on the complexity, and would like to avoid this as well. I just want to avoid supporting only the latest stable version. |
includes update of the time lib which is compatible with MSRV 1.61
Hey @chifflier , I've updated |
There is a new error during build with 1.63:
This may require a fix using |
Update: an older time version seems to build with 1.63:
|
yy reverting |
@chifflier |
@chifflier all done! PR is good to merge now. |
@aggstam Everything seems ok now. Merged, thanks! |
Hello, sorry to necro an old thread, but thought I'd ask when the next release is planned for? |
Hi, |
|
Clippy checks pass using pull/147.
Min supported rust version needs to be pumped to
1.61.0
.If its acceptable, I can edit the workflow files to the new min supported rust version.