#io #poll-read #future

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

#409 in Asynchronous

Download history 2283965/week @ 2025-01-05 2476095/week @ 2025-01-12 2293485/week @ 2025-01-19 2428441/week @ 2025-01-26 2756057/week @ 2025-02-02 2765099/week @ 2025-02-09 2768686/week @ 2025-02-16 2845368/week @ 2025-02-23 3174104/week @ 2025-03-02 3263877/week @ 2025-03-09 3524566/week @ 2025-03-16 3632885/week @ 2025-03-23 3133953/week @ 2025-03-30 3367137/week @ 2025-04-06 2998225/week @ 2025-04-13 2773486/week @ 2025-04-20

12,474,540 downloads per month
Used in 31,622 crates (217 directly)

MIT/Apache

24KB
296 lines

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.


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.

No runtime deps

Features