28 releases (16 breaking)

0.16.4 Mar 29, 2024
0.16.3 Jun 29, 2023
0.16.1 Mar 29, 2023
0.15.0 Nov 27, 2022
0.3.1 Mar 4, 2021

#932 in Rust patterns

Download history 28/week @ 2024-01-07 2/week @ 2024-01-14 6/week @ 2024-02-11 28/week @ 2024-02-18 36/week @ 2024-02-25 18/week @ 2024-03-03 63/week @ 2024-03-10 23/week @ 2024-03-17 142/week @ 2024-03-24 150/week @ 2024-03-31 5/week @ 2024-04-07

330 downloads per month
Used in 4 crates

Apache-2.0…

31KB
801 lines

char-device

Character Device I/O

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

This crate defines the CharDevice struct, a simple wrapper around std::fs::File for character devices.

Support for async-std and tokio is temporarily disabled until those crates contain the needed implementations of the I/O safety traits.


lib.rs:

Character Device I/O

Dependencies

~2–15MB
~167K SLoC