Skip to content
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

arrayvec 1.0 #48

Open
5 tasks done
bluss opened this issue Mar 18, 2017 · 8 comments
Open
5 tasks done

arrayvec 1.0 #48

bluss opened this issue Mar 18, 2017 · 8 comments
Milestone

Comments

@bluss
Copy link
Owner

bluss commented Mar 18, 2017

Planning for arrayvec 1.0

Prerequisites:

@johncf
Copy link

johncf commented May 24, 2017

Please consider releasing a 0.4 after settling API issues raised in #45 and #46, before 1.0. Would you like a PR?

@bluss
Copy link
Owner Author

bluss commented May 24, 2017

I agree -- this is not actually for the next version, just an upcoming version.

@Limeth
Copy link

Limeth commented Mar 2, 2018

It might be worth considering #[macro_export]ing the fix_array_impl_recursive macro, too.

@bluss
Copy link
Owner Author

bluss commented Mar 3, 2018

@Limeth I'd prefer to not do that, since it is useless -- it can't be used to impl Array for any array types, outside the crate.

@mqudsi
Copy link

mqudsi commented Sep 25, 2018

With RFC2000 approved, I would hold off on a 1.0 until support for that lands in nightly. It can make this a zero-cost crate and provide compile-time overflow safety. The API will most definitely break, which is why I recommend not doing 1.0 until then (you'll be able to specify the length as a generic parameter, i.e. ArrayVec<u8, 20>).

https://github.com/rust-lang/rfcs/blob/master/text/2000-const-generics.md

@bluss
Copy link
Owner Author

bluss commented Oct 28, 2018

@mqudsi The existing plan is that 1.0 is a good safety respecting version of the current functionality. That means ManuallyDrop/ManuallyUninit. Const generics is arrayvec 2.0.

@Luro02
Copy link
Contributor

Luro02 commented Nov 21, 2019

It would be useful, if you could create a github milestone and tag all the issues 🤗

@bluss
Copy link
Owner Author

bluss commented Mar 23, 2021

Since we've been so slow to actually push out 1.0, const generics has now landed before 1.0 happened. So now it can be on the checklist. But we have every item ticked off, now.

@bluss bluss added this to the 1.0 milestone Mar 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants