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

#350 in Operating systems

Download history 2/week @ 2024-01-02 22/week @ 2024-01-09 1/week @ 2024-02-13 11/week @ 2024-02-20 37/week @ 2024-02-27 9/week @ 2024-03-05 25/week @ 2024-03-12 10/week @ 2024-03-19 166/week @ 2024-03-26 43/week @ 2024-04-02

245 downloads per month
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–12MB
~111K SLoC