-
Notifications
You must be signed in to change notification settings - Fork 145
Bump ahash to 0.8.7 for -Zminimal-versions #343
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Absolutely! I'm horrified that I'm one of the offenders here. Happy to add this, although I'm somewhat curious about how we're relying on ahash 0.8.7? What is the feature we're using that isn't present in 0.8.0?
3c6e459 to
789a64f
Compare
|
Also worth pointing out that we do actually have a CI job that checks minimal versions: |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #343 +/- ##
==========================================
+ Coverage 90.67% 90.77% +0.09%
==========================================
Files 21 21
Lines 4719 4293 -426
==========================================
- Hits 4279 3897 -382
+ Misses 440 396 -44 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Releasing in #346 |
It's not a feature of ahash, but a bugfix there, the problem is yet another level of dependencies down: 0.8.7 is the first version that contains the tkaitchuck/aHash@53c08e4 commit which fixes the build of the Thanks for the kind words! |
Hm, ICBW, but it seems to me that that job only checks that the crate builds with the minimum supported Rust version; it will still pull the latest (compatible) versions of the crates it depends on, and so it will use all the bugfixes in those latest versions. What I'm talking about is using the |
|
And just one more comment: the truth is that testing with |
|
The job I linked specifically builds with |
OK, so now I feel a bit dumb... also, I see why this job did not fail, and I just learned something new today :)
...and thanks for bearing with me on my journey of discovery :) |
|
All good! Thank you for reporting back on what you found :) |
Hi,
Thanks a lot for writing and maintaining inferno!
What do you think about this trivial patch that will fix the build with nightly Cargo's
-Zminimal-versionsmode? I routinely try to do this for my own projects, and anahash->inferno->tracing-subscriberdependency chain led me here :) Of course, it is entirely up to you whether you want to support such whims.Now, in theory one might say that a nightly-toolchain
-Zminimal-versionsbuild might even be added to the GitHub workflows or some such; let me know if you want me to try to do that, although I have to admit I am not overly familiar with GitHub workflows.Thanks in advance, and keep up the great work!
G'luck,
Peter