KokaKiwi / rust-hex

A basic crate to encode values to hexadecimal representation. Originally extracted from rustc-serialize.
https://crates.io/crates/hex
Apache License 2.0
201 stars 55 forks source link

Deserialize into a fixed-size array #10

Closed dtolnay closed 6 years ago

dtolnay commented 7 years ago

Feedback from https://github.com/shssoichiro/avsser/issues/2#issuecomment-299645567:

I will say I wish that the hex crate could deserialize into a fixed-size array, like rustc-serialize could. I found a better way to do it in this crate (because the hex strings were UUIDs), but it would still be a good functionality to have.

LukasKalbertodt commented 7 years ago

Added in #11 (for arrays up to size 16, but that can easily be extended)

zrkn commented 6 years ago

Any plans for releasing it to crates.io?

KokaKiwi commented 6 years ago

I'm thinking about publishing a 0.3.0 version in crates.io with the current changes, and publishing a 0.3.1 with #13, which seems to me to be a sufficiently good way to do this thing

KokaKiwi commented 6 years ago

I published a 0.3.0 version with latest changes (minus #13), so I'm closing this issue