24 releases

new 0.18.3 Oct 30, 2024
0.18.2 Mar 29, 2024
0.18.1 Dec 1, 2023
0.18.0 Jun 11, 2023
0.12.2 Nov 19, 2021

#89 in Operating systems

Download history 66635/week @ 2024-07-10 69202/week @ 2024-07-17 74885/week @ 2024-07-24 58880/week @ 2024-07-31 62434/week @ 2024-08-07 60940/week @ 2024-08-14 57313/week @ 2024-08-21 57518/week @ 2024-08-28 65771/week @ 2024-09-04 58834/week @ 2024-09-11 61530/week @ 2024-09-18 59974/week @ 2024-09-25 64775/week @ 2024-10-02 64748/week @ 2024-10-09 65026/week @ 2024-10-16 73079/week @ 2024-10-23

278,666 downloads per month
Used in 258 crates (19 directly)

Apache-2.0…

125KB
3K SLoC

io-extras

File/socket handle/descriptor utilities

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

This crate provides a few miscellaneous utilities related to I/O:

  • HandleOrSocket types and traits for Windows, which abstract over Windows *Handle* and their corresponding Windows *Socket* types and traits.

  • Grip types and traits, which abstract over the aforementioned Windows HandleOrSocket types and traits and their corresponding non-Windows Fd types and traits.

  • RawReadable and RawWritable, which adapt a raw Fd/Handle to implement the Read and Write traits, respectively.

  • ReadWrite traits, and supporting types, which provide abstractions over types with one or two I/O resources, for reading and for writing.

Minimum Supported Rust Version (MSRV)

This crate currently works on Rust 1.63, when default features are enabled. Some of the optional features have stricter requirements.

Dependencies

~0–12MB
~140K SLoC