jam1garner / binrw

A Rust crate for helping parse and rebuild binary data using ✨macro magic✨.
https://binrw.rs
MIT License
585 stars 35 forks source link

Rewrite string APIs to use standard Rust traits #135

Closed csnover closed 2 years ago

csnover commented 2 years ago

Imagine a rewritten null-terminated string API that is all trait implementations. Nothing but the awesomely sweet taste of all traits. Oops! All traits.

This is an API breaking change. The old functions could be retained with deprecation notices, but binrw is pre-1.0, that sounds pretty boring or whatever, so I just deleted them.