RustCrypto / hybrid-array

Hybrid typenum/const generic arrays
Apache License 2.0
9 stars 8 forks source link

Replace `consts` with `sizes` #68

Closed tarcieri closed 8 months ago

tarcieri commented 8 months ago

Replaces the re-export of typenum::consts by making the sizes module public.

This ensures that the sizes module only contains supported sizes with ArraySize impls which should help prevent confusion about which array sizes are supported.

It also makes the type aliases for extra-sizes available so they don't have to be computed.

Closes #64.