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

generic-array dependency exists despite const_generics being stabilized #848

Closed
kageru opened this issue Dec 14, 2021 · 3 comments
Closed

Comments

@kageru
Copy link

kageru commented Dec 14, 2021

While using one of your other crates (aes-gcm-siv) for a project, I noticed the complicated signatures of some key and cipher types which seem to be caused by the generic-array crate that was reexported by the cipher module in this repository.
With const_generics stabilized in Rust 1.51, I was wondering if that crate now offers anything that isn’t possible in standard Rust. If not, are there plans to migrate from generic-array to [T; N] types?

@newpavlov
Copy link
Member

The stabilized const generics MVP is not sufficient for our needs. At the very least we will need stabilized generic_const_exprs. Also see RustCrypto/hashes#303.

@kageru
Copy link
Author

kageru commented Dec 14, 2021

I see. Thanks for the explanation.

@kageru kageru closed this as completed Dec 14, 2021
@tarcieri
Copy link
Member

We have a tracking issue for this here now: #970

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants