#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

#677 in Asynchronous

Download history 1930566/week @ 2024-07-18 1961707/week @ 2024-07-25 1937030/week @ 2024-08-01 2024512/week @ 2024-08-08 1913551/week @ 2024-08-15 1992064/week @ 2024-08-22 1871914/week @ 2024-08-29 2042845/week @ 2024-09-05 1928562/week @ 2024-09-12 2048377/week @ 2024-09-19 2180902/week @ 2024-09-26 2721316/week @ 2024-10-03 2657607/week @ 2024-10-10 2769293/week @ 2024-10-17 2384196/week @ 2024-10-24 2118490/week @ 2024-10-31

10,418,612 downloads per month
Used in 27,282 crates (207 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