Replies: 7 comments 31 replies
-
|
These are compelling reasons. (weak) concept ACK from me. |
Beta Was this translation helpful? Give feedback.
-
|
I am in favor of 1.51 which would give us const generics and Array::IntoIter. But we can also do that later and the informal 2-year rule would put 1.51 on Feb end 2023 |
Beta Was this translation helpful? Give feedback.
-
|
Just because its soon-ish anyway, I'd suggest we do this after Debian bookworm releases, which puts the 1.41 people on a then-ancient version of Debian. That should be around 2023-04 or so, depending on how long a few things take. I only suggest this because none of the reasons here seem super pressing to me - I agree they're all nice, but if they wait a few releases it doesn't seem like all that much difference? If y'all think this is pressing I'd be okay with seeing it now-ish. |
Beta Was this translation helpful? Give feedback.
-
|
Even if MSRV bump was the next thing to do after current thing (re-org / crate smashing) it would, in my opinion, not happen till March - the crate smashing PRs take ages to merge because they all conflict plus there is going to be an epic amount of discussion required to work out what goes where. We've only just scratched the surface and its been going on for a while already. |
Beta Was this translation helpful? Give feedback.
-
|
Another possibility: bump to 1.48 ~now and to 1.51 somewhat soon after bookworm release. 1.51 contains much more const generics features. Maybe we could even change the |
Beta Was this translation helpful? Give feedback.
-
|
So are we willing and able to bump MSRV to 1.48.0 directly after 0.30.0 is released and do a quick 0.31.0? (I did re-read the whole thread but its Friday afternoon and I didn't really get a clear idea of where we stand). |
Beta Was this translation helpful? Give feedback.
-
|
Done in #1729 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'd like to propose bumping MSRV again to 1.48. This version is 2 years old now and is available in Debian stable. (Interestingly Buster, containing 1.41 is now EOL) I believe the benefits of this are significant mainly thanks to a bunch of
coretraits being implemented on all arrays. We have several arrays above 32 items and so could remove a bunch of manual trait impls and improve APIs. E.g. we could requireHash::Inner: AsRef<[u8]>which would improve generic processing of hashes (see #1321 (comment)), I think we could have a betterToHextrait.Other things I find interesting:
constsupport#[track_caller]- we wouldn't have to conditionally enable it as I suggested.no_stdbecomes the same removing a bunch of complexity in docs and maybe also CIAlternatively, 1.47 provides most (maybe all) of the desired benefits and is already MSRV for
no_std. I find 1.48 more practical but if anyone needs 1.47 I'm OK with that.Beta Was this translation helpful? Give feedback.
All reactions