#tokio #io-slice #async

tokio-io-utility

Some helper functions for tokio::io

7 releases

0.7.6 Apr 4, 2023
0.7.5 Nov 30, 2022
0.7.4 Oct 29, 2022
0.6.7 Jul 31, 2022
0.3.0 Dec 23, 2021

#79 in Asynchronous

Download history 57890/week @ 2025-09-23 70807/week @ 2025-09-30 100285/week @ 2025-10-07 78496/week @ 2025-10-14 74516/week @ 2025-10-21 72773/week @ 2025-10-28 71286/week @ 2025-11-04 72206/week @ 2025-11-11 120108/week @ 2025-11-18 50510/week @ 2025-11-25 57151/week @ 2025-12-02 40133/week @ 2025-12-09 44793/week @ 2025-12-16 18745/week @ 2025-12-23 17689/week @ 2025-12-30 24888/week @ 2026-01-06

111,917 downloads per month
Used in 20 crates (3 directly)

MIT license

42KB
878 lines

tokio-io-utility

Rust

crate.io downloads

crate.io version

docs

Provide some helper functions for

  • reading into Vec, Bytes or other container
  • writing IoSlices
  • Initializing [MaybeUninit<IoSlice<'_>>]
  • ReusableIoSlices to reuse a Vec of IoSlice<'_> without worrying about lifetime.

How to run tests

./run_test.sh

Dependencies

~2–2.7MB
~38K SLoC