-
Notifications
You must be signed in to change notification settings - Fork 101
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
Make once_cell optional to meet reasonable MSRV #128
Comments
I was under the impression that |
I don't believe so, no, that's just the current effective MSRV, quoting the linked issue:
|
There's a big range of possibilities between "debian stable" and "latest stable". once_cell is using "about a year old MSRV". This is very comfortable for folks who try to generally keep up to date. That is not enough for various LTSes, which are typically more-than-a-year long. |
Yep, its totally a reasonable decision...maintainers get to decide what they want to support. Doesn't mean downstream projects shouldn't/can't decide to switch if they want to support more :). In this case we're switching, and it'd be easiest for us if ahash also switches, otherwise we'll swap |
Anything below a year is not really worth calling it LTS, is it? After all, the L in LTS stands for "Long", and something like six months is not really long. Don't get me wrong here: Code maintainers / owners always get to decide what they support and for how long they are willing to support it. But everything below a year does not really deserve to be called LTS, in my opinion. |
Thanks, my wording was ambiguous, clarified. |
Some features like: #136 do impose version requirements. (For example that feature won't wore before 1.54) I don't know a way to do conditional compilation based on the Rust version number. So removing onceCell may not be the only obstacle. I am using use |
At least for my use-case (no-std hashmaps by directly depending on hashbrown, which disables ahash default-features), I'm not worried about the |
A PR is open to add MSRV: #181 |
once_cell
switched to "no MSRV at all" in matklad/once_cell#201, which makes it rather annoying to use aHash in any project that supports anything other than "latest rustc", which makes it annoying to use hashbrown in anything other than "latest rustc". Given the relatively little use of once_cell in ahash, it should be rather trivial to simply remove it entirely, which would be much appreciated.The text was updated successfully, but these errors were encountered: