BurntSushi / byteorder

Rust library for reading/writing numbers in big-endian and little-endian.
The Unlicense
984 stars 144 forks source link

Add `Read/WriteBytesExt` support for `core2::io` #184

Closed AsafFisher closed 3 years ago

BurntSushi commented 3 years ago

I'm sorry, but being a widely used dependency, I don't take other dependencies on lightly. I don't think byteorder is really blocking core2 from be coming a staple of the ecosystem, so I'd really rather wait until and if that happened. And even when it did, I'd insist on it being an opt-in crate feature.

I'm also somewhat surprised to see that these impls are only added when std is disabled. I'd probably expect them to always be present.