7 releases

new 0.3.0-alpha.8 Apr 17, 2025
0.3.0-alpha.1 Apr 16, 2025

#739 in Asynchronous

Download history 942/week @ 2025-04-13

942 downloads per month

MIT/Apache

23KB
407 lines

tokio-splice2

crates.io docs.rs

Implemented splice(2) based bidirectional data transmission in tokio-rs. Just like tokio::io::copy_bidirectional.

Examples

See examples.

Changelog

  • 0.3.0:

    • [BREAKING] use rustix instead of libc
    • [BREAKING] Do not shutdown stream after transfer finished (let user controls).
    • [BREAKING] MSRV is changed to 1.70.0
    • Add unidirectional splicing.
    • Accept tokio::fs::File as input.
  • 0.2.1:

Benchmark

See BENCHMARK.

MSRV

1.70.0

LICENSE

MIT OR Apache-2.0

Credits

tokio-splice

Dependencies

~4–14MB
~186K SLoC