#tokio #async #byte #reading #vec #helper #container

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

#131 in Asynchronous

Download history 13884/week @ 2024-08-18 13821/week @ 2024-08-25 11957/week @ 2024-09-01 11718/week @ 2024-09-08 10326/week @ 2024-09-15 12816/week @ 2024-09-22 12732/week @ 2024-09-29 12516/week @ 2024-10-06 11941/week @ 2024-10-13 12615/week @ 2024-10-20 12339/week @ 2024-10-27 11412/week @ 2024-11-03 11661/week @ 2024-11-10 8933/week @ 2024-11-17 6864/week @ 2024-11-24 8720/week @ 2024-12-01

37,062 downloads per month
Used in 19 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.1–7.5MB
~50K SLoC