sqlx
sqlx copied to clipboard
Implement `Type` for `[u8; N]`
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.
This will be part of 0.6
Is there an ETA for this 0.6 release?
v0.6.0 has been released but this feature wasn't part of it.
Yeah, this is a backwards compatible change however, so if anyone wants to put in a PR for it we'd gladly have it.
Closed by #1953
My PR implements this for Postgres but not other database systems.