#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

#160 in Asynchronous

Download history 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 8726/week @ 2024-12-01 8073/week @ 2024-12-08 6335/week @ 2024-12-15 6843/week @ 2024-12-22 7744/week @ 2024-12-29 8650/week @ 2025-01-05 10419/week @ 2025-01-12 8608/week @ 2025-01-19 8556/week @ 2025-01-26

36,847 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