-
Notifications
You must be signed in to change notification settings - Fork 173
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
Update arrayvec #334
Update arrayvec #334
Conversation
Thank you for updating this! For (my) reference, this requires a minimum Rust version of 1.51. |
a7a0766
to
dd1b09e
Compare
Sorry - I realize the latest changes in master will break this build (again). The fix is to bump the minimum version specified in the github workflow file. I just wanted to make sure the minimum version was explicit going forward. |
Sup @paupino. Don't worry! |
fe31ccd
to
c88de45
Compare
c7c8e02
to
6325282
Compare
I've been thinking how we can keep this up to date as much as possible while still maintaining minimal compiler support. One way, which avoids bumping the minimum version, is to move On the other hand: it would be nice to start thinking about how to leverage some new compiler features within the library itself. I guess the other alternative is to create an LTS branch which would commit to minor big fixes, whilst still allowing the main branch to continue moving forward. I'm perhaps leaning towards an LTS since it'd be nice to expand support within the library, particularly with the new edition around the corner. Thoughts? |
I am mostly keeping bug fixes on the main line, and a What you suggest, i.e. to keep a |
My initial thoughts: Optional featuresarrayvec_0_6 = { optional = true, package = "arrayvec", version = "0.6" }
arrayvec_0_7 = { optional = true, package = "arrayvec", version = "0.7" } Does not work because:
LTSRust does not support LTS compilers and simply ask ppl to update their toolchains when a security issue is discovered and fixed on the standard library or in the language itself. But hey, it doesn't work because a lot of ppl are relying and deploying software based on a fixed version. ConclusionWith all that said, I really don't know the best solution for this scenario |
IMHO, just wait a bit until compiler installations catch up. I can't see users of Rust are very reluctant to upgrade versions... maybe not immediately, but definitely once in a while to catch up. That's like Chrome and others where you basically just update without second thoughts, even in many corporate environments. |
Hum... Per the recent Is that right, @paupino? If so, it would be awesome because my heart cries every time I type |
Ah, NVM. Such feature will only the possible on 2022/03/25. |
I wonder if support I'd also love to get this wrapped up and start playing with const generics! :) |
Re-based in case the constraint is relaxed. IMHO, constant generics is a huge milestone that is worth supporting. |
Thanks @paupino 🙃 |
Glad to wait until you feel comfortable with the new minimum Rustc version.