#async-io #async-read #io-read #future #async-write #read-write #traits

no-std futures-io

The AsyncRead, AsyncWrite, AsyncSeek, and AsyncBufRead traits for the futures-rs library

35 releases

0.3.31 Oct 5, 2024
0.3.30 Dec 24, 2023
0.3.29 Oct 26, 2023
0.3.28 Mar 30, 2023
0.1.0 Jul 31, 2016

#702 in Asynchronous

Download history 1968614/week @ 2024-07-24 1950455/week @ 2024-07-31 2011254/week @ 2024-08-07 1898275/week @ 2024-08-14 1983157/week @ 2024-08-21 1876483/week @ 2024-08-28 2060313/week @ 2024-09-04 1934404/week @ 2024-09-11 2028143/week @ 2024-09-18 2176333/week @ 2024-09-25 2617927/week @ 2024-10-02 2714298/week @ 2024-10-09 2772134/week @ 2024-10-16 2389941/week @ 2024-10-23 2148061/week @ 2024-10-30 2125015/week @ 2024-11-06

9,856,399 downloads per month
Used in 27,413 crates (208 directly)

MIT/Apache

24KB
296 lines

futures-io

The AsyncRead, AsyncWrite, AsyncSeek, and AsyncBufRead traits for the futures-rs library.

Usage

Add this to your Cargo.toml:

[dependencies]
futures-io = "0.3"

The current futures-io requires Rust 1.36 or later.

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.


lib.rs:

Asynchronous I/O

This crate contains the AsyncRead, AsyncWrite, AsyncSeek, and AsyncBufRead traits, the asynchronous analogs to std::io::{Read, Write, Seek, BufRead}. The primary difference is that these traits integrate with the asynchronous task system.

All items of this library are only available when the std feature of this library is activated, and it is activated by default.

No runtime deps

Features