#tokio #async #io #byte #vec #maybe-uninit #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

#96 in Asynchronous

Download history 17180/week @ 2023-11-20 10121/week @ 2023-11-27 9946/week @ 2023-12-04 10664/week @ 2023-12-11 16683/week @ 2023-12-18 18187/week @ 2023-12-25 17264/week @ 2024-01-01 15207/week @ 2024-01-08 21945/week @ 2024-01-15 16523/week @ 2024-01-22 20152/week @ 2024-01-29 8365/week @ 2024-02-05 9804/week @ 2024-02-12 9203/week @ 2024-02-19 10250/week @ 2024-02-26 9181/week @ 2024-03-04

38,733 downloads per month
Used in 11 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–3MB
~49K SLoC