tokio-splice2-0.3.0 has been yanked.
tokio-splice2
Implemented splice(2) based bidirectional data transmission in tokio-rs.
Just like tokio::io::copy_bidirectional.
Examples
See examples.
Changelog
-
0.3.0:
- MSRV is now 1.70.0.
- Replace
libcwithrustix. - Add
tracinglogger support. - Add unidirectional copy.
- Returns
TrafficResultinstead ofio::Result<T>to have traffic transferred returned when error occurs. - (Experimental) Add
tokio::fs::Filesupport to splice from (likesendfile) / to (not fully tested). - (Experimental) Basic rate limitation support.
-
0.2.1:
- Fix the maximum value of the
size_ttype. Closes: https://github.com/Hanaasagi/tokio-splice/issues/2.
- Fix the maximum value of the
Benchmark
See BENCHMARK.
MSRV
1.70.0 (To run the examples, please use the latest stable Rust version)
LICENSE
MIT OR Apache-2.0