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

Implement Type for [u8; N] #1180

Open
madadam opened this issue Apr 19, 2021 · 6 comments
Open

Implement Type for [u8; N] #1180

madadam opened this issue Apr 19, 2021 · 6 comments
Milestone

Comments

@madadam
Copy link
Contributor

madadam commented Apr 19, 2021

I was trying to derive(Type) for a newtype containing [u8; 16] and it didn't work. It seems there is currently no impl for fixed-length arrays of u8. It would be useful to add them, especially now with const generics MVP landed one no longer has to write a separate impl for every array size.

@abonander
Copy link
Collaborator

This will be part of 0.6

@abonander abonander added this to the 0.6.0 milestone Sep 10, 2021
@bin
Copy link

bin commented Apr 8, 2022

Is there an ETA for this 0.6 release?

@e00E
Copy link
Contributor

e00E commented Jul 4, 2022

v0.6.0 has been released but this feature wasn't part of it.

@abonander
Copy link
Collaborator

Yeah, this is a backwards compatible change however, so if anyone wants to put in a PR for it we'd gladly have it.

@abonander
Copy link
Collaborator

Closed by #1953

@e00E
Copy link
Contributor

e00E commented Jul 9, 2022

My PR implements this for Postgres but not other database systems.

@abonander abonander reopened this Jul 9, 2022
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

4 participants