Aeledfyr / deepsize

A rust crate to find the total size of an object, on the stack and on the heap
MIT License
103 stars 19 forks source link

Add support for arrays of sizes 64,65 #21

Closed pmnoxx closed 2 years ago

pmnoxx commented 2 years ago

Cryptographic keys like Secp256K1PublicKey have sizes of powers of two, or powers of two plus one. Let's add sizes 64,65.

Hopefully, Rust will support adding generics for integers in the future, and this will not longer be needed.

Aeledfyr commented 2 years ago

This should be covered by #16, which adds const-generics support for the array DeepSize impl.