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

no-std futures-io

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

34 releases

0.3.30 Dec 24, 2023
0.3.29 Oct 26, 2023
0.3.28 Mar 30, 2023
0.3.25 Oct 20, 2022
0.1.0 Jul 31, 2016

#379 in Asynchronous

Download history 1531653/week @ 2024-01-05 1598120/week @ 2024-01-12 1744905/week @ 2024-01-19 1814931/week @ 2024-01-26 1727998/week @ 2024-02-02 1752174/week @ 2024-02-09 1758898/week @ 2024-02-16 1886394/week @ 2024-02-23 1893158/week @ 2024-03-01 1771252/week @ 2024-03-08 1770896/week @ 2024-03-15 1802634/week @ 2024-03-22 1725449/week @ 2024-03-29 1769083/week @ 2024-04-05 1812112/week @ 2024-04-12 1507369/week @ 2024-04-19

7,136,410 downloads per month
Used in 23,185 crates (186 directly)

MIT/Apache

24KB
293 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