#io

char-device

Character Device I/O

23 releases (15 breaking)

0.15.0 Nov 27, 2022
0.13.0 Jun 16, 2022
0.12.0 Mar 16, 2022
0.10.0 Dec 16, 2021
0.3.1 Mar 4, 2021

#433 in Rust patterns

Download history 20/week @ 2022-10-07 5/week @ 2022-10-14 15/week @ 2022-10-21 21/week @ 2022-10-28 131/week @ 2022-11-04 32/week @ 2022-11-11 38/week @ 2022-11-18 71/week @ 2022-11-25 15/week @ 2022-12-02 51/week @ 2022-12-09 37/week @ 2022-12-16 43/week @ 2022-12-23 8/week @ 2022-12-30 24/week @ 2023-01-06 23/week @ 2023-01-13 23/week @ 2023-01-20

83 downloads per month
Used in 4 crates

Apache-2.0…

28KB
774 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

~0.3–6.5MB
~109K SLoC