#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

#81 in Asynchronous

Download history 8882/week @ 2024-08-02 13518/week @ 2024-08-09 11733/week @ 2024-08-16 14936/week @ 2024-08-23 12917/week @ 2024-08-30 11474/week @ 2024-09-06 9882/week @ 2024-09-13 12617/week @ 2024-09-20 12705/week @ 2024-09-27 12968/week @ 2024-10-04 12329/week @ 2024-10-11 12054/week @ 2024-10-18 12491/week @ 2024-10-25 11392/week @ 2024-11-01 11608/week @ 2024-11-08 10105/week @ 2024-11-15

48,072 downloads per month
Used in 17 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