7 releases

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

#800 in Asynchronous

Download history 795/week @ 2025-04-16 5/week @ 2025-04-23 8/week @ 2025-04-30 11/week @ 2025-05-07

819 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
~182K SLoC