Comments (8)
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.
from ahash.
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 ahash
for a different hasher in our (nostd) hashtables...hence this issue/question.
from ahash.
I was under the impression that once_cell
's MSRV was bumped to 1.56.0, rather than being abandoned entirely?
from ahash.
I don't believe so, no, that's just the current effective MSRV, quoting the linked issue:
We support workflows which target up-to-date, supported versions of Rust compiler, but we also give somewhat generous grace period, as keeping perfectly up-to-date is hard.
We explicitly do not support workflows which depend on using the old compiler. Making sure that the latest once_cell can be compiled with rustc packaged with debian stable is a non-goal.
from ahash.
That is not enough for more-than-a-year LTSes.
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.
from ahash.
Thanks, my wording was ambiguous, clarified.
from ahash.
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 once_cell::race::OnceBox
which is a very small amount of code. Rather than try to find a way around it, it might be better to break that out into its own crate.
from ahash.
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 std
feature. Ideally, of course, that too would have a strong MSRV guarantee, but providing a strong MSRV guarantee for some feature subset is still a good step forward.
from ahash.
Related Issues (20)
- Using with neither `compile-time-rng` or `runtime-rng` features. HOT 2
- Simple, Non-DOS-resistent seed HOT 14
- 0.8.0 requires "resolver" due to Cargo bug HOT 6
- Question: Callhasher is removed from public interface HOT 1
- Reproducible Hashes is 0.8? HOT 4
- `random_state::RandomState: Default` not implemented when using neither `compile-time-rng` nor `runtime-rng` features HOT 2
- Fails to compile on no-std
- ahash features are non-additive HOT 5
- Cannot compile to wasm without wasm-bindgen with v0.8.1 HOT 5
- 0.8.1 fails to compile for no-std HOT 2
- ahash: 0.8.1: Failed to parse expression HOT 1
- SMHasher Sparse Test Failure HOT 2
- adding ability to build HashMap from rayon parallel iterator HOT 1
- Please disable feature `runtime-rng` by default HOT 3
- one test failure on s390x-unknown-linux-gnu (big endian) HOT 9
- c++ version? HOT 2
- const function for `HashMap::new` HOT 1
- no_std support HOT 9
- aHash changed TypeId HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ahash.