#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

#98 in Asynchronous

Download history 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 9039/week @ 2025-01-26 23103/week @ 2025-02-02 104069/week @ 2025-02-09 108557/week @ 2025-02-16 115814/week @ 2025-02-23 122482/week @ 2025-03-02

454,288 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.2–8MB
~50K SLoC