BurntSushi / rust-csv

A CSV parser for Rust, with Serde support.
The Unlicense
1.72k stars 219 forks source link

Mutable ref #350

Closed huntc closed 9 months ago

huntc commented 10 months ago

Provides a mutable ref method of the underlying buffer so that it can be operated on. This is particularly useful when taking the bytes of the underlying buffer and writing them out in a stream. Upon writing them out, the underlying buffer can be cleared.

See https://github.com/BurntSushi/rust-csv/issues/349 for more background.

huntc commented 9 months ago

Closing as rust-csv is more generally unsuitable for use with async streams.