tomaka / rouille

Web framework in Rust
Apache License 2.0
1.09k stars 105 forks source link

Remove dependency on byteorder #243

Closed taiki-e closed 2 years ago

taiki-e commented 2 years ago

https://github.com/BurntSushi/byteorder#alternatives

Note that as of Rust 1.32, the standard numeric types provide built-in methods like to_le_bytes and from_le_bytes, which support some of the same use cases.

bradfier commented 2 years ago

I generally agree with removing dependencies where possible, but one thing I like about byteorder is how it aliases NetworkEndian so there's no confusion about exactly what the intent is, I wish the standard library would do something similar :slightly_frowning_face: