#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

#79 in Asynchronous

Download history 8742/week @ 2024-07-22 8448/week @ 2024-07-29 11620/week @ 2024-08-05 11470/week @ 2024-08-12 13552/week @ 2024-08-19 14822/week @ 2024-08-26 11279/week @ 2024-09-02 11432/week @ 2024-09-09 10379/week @ 2024-09-16 13243/week @ 2024-09-23 12558/week @ 2024-09-30 12293/week @ 2024-10-07 12764/week @ 2024-10-14 11998/week @ 2024-10-21 12214/week @ 2024-10-28 11607/week @ 2024-11-04

48,987 downloads per month
Used in 16 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