#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

#138 in Asynchronous

Download history 12013/week @ 2024-09-05 9651/week @ 2024-09-12 12842/week @ 2024-09-19 12405/week @ 2024-09-26 12921/week @ 2024-10-03 12423/week @ 2024-10-10 11567/week @ 2024-10-17 13177/week @ 2024-10-24 11268/week @ 2024-10-31 11275/week @ 2024-11-07 11073/week @ 2024-11-14 7571/week @ 2024-11-21 7565/week @ 2024-11-28 7463/week @ 2024-12-05 7828/week @ 2024-12-12 6198/week @ 2024-12-19

30,727 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