29 releases (breaking)

0.23.1 Mar 29, 2024
0.23.0 Jun 29, 2023
0.22.0 Jun 12, 2023
0.21.0 Mar 7, 2023
0.4.0 Mar 2, 2021

#365 in Operating systems


Used in 5 crates

Apache-2.0…

70KB
1.5K SLoC

layered-io

I/O traits extending Read and Write

Github Actions CI Status crates.io page docs.rs docs

This crate defines ReadLayered and WriteLayered traits which extend std::io::Read and std::io::Write with additional functionality useful for performing I/O through layers of buffering and translation.

And it defines LayeredReader, LayeredWriter, and LayeredDuplexer types which implement ReadLayered, WriteLayered, and both, respectively, by wrapping implementations of std::io::Read, std::io::Write, and both, respectively.

Dependencies

~0.2–9.5MB
~102K SLoC