#tokio #io #future #async-std

futures-x-io-timeoutable

Timeout ext for futures io and tokio io

8 releases

0.3.2 Jan 25, 2021
0.3.1 Jan 24, 2021
0.2.2 Jan 12, 2021
0.1.1 Jan 10, 2021
0.1.0 Aug 13, 2020

#104 in #async-std


Used in 3 crates (via pulsar-client)

Apache-2.0 OR MIT

15KB
279 lines

futures-x-io-timeoutable

Examples

Dev

cargo clippy --all --all-features -- -D clippy::all
cargo +nightly clippy --all --all-features -- -D clippy::all

cargo fmt --all -- --check
cargo build-all-features

╰─➤ cargo test-all-features -- --nocapture 2>/dev/null | grep 'test rw_' | grep ' ... ok' | wc -l
3
cargo run -p futures-x-io-timeoutable-demo-async-std

cargo run -p futures-x-io-timeoutable-demo-tokio

Dependencies

~0–5.5MB
~23K SLoC