imgref
imgref copied to clipboard
Generic size types
Would you be willing to accept a PR where I make each numeric type generic? Some crates use u32 for sizes, some usize and some even u16.
Of course the default would still be usize.
Yes. Please see https://github.com/kornelski/imgref/tree/v2-preview
Oh great! Do you need any help with this new version?
Yes, help is welcome.
That code is unfinished and buggy. I wish more of it could be implemented using safe code, even as an option, but I haven't figured out how to structure the traits for it.