#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

#547 in Asynchronous

Download history 1701235/week @ 2024-01-20 1847290/week @ 2024-01-27 1723808/week @ 2024-02-03 1751040/week @ 2024-02-10 1788274/week @ 2024-02-17 1883223/week @ 2024-02-24 1871711/week @ 2024-03-02 1764460/week @ 2024-03-09 1763971/week @ 2024-03-16 1777952/week @ 2024-03-23 1768862/week @ 2024-03-30 1767700/week @ 2024-04-06 1810949/week @ 2024-04-13 1834029/week @ 2024-04-20 1736231/week @ 2024-04-27 1723472/week @ 2024-05-04

7,409,833 downloads per month
Used in 23,503 crates (187 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