Skip to content

hanyu-dev/tokio-splice2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

    • MSRV is now 1.70.0.
    • Replace libc with rustix.
    • Add tracing logger support.
    • Add unidirectional copy.
    • Returns TrafficResult instead of io::Result<T> to have traffic transferred returned when error occurs.
    • (Experimental) Add tokio::fs::File support to splice from (like sendfile) / to (not fully tested).
    • (Experimental) Basic rate limitation support.
  • 0.2.1:

Benchmark

See BENCHMARK.

MSRV

1.70.0 (To run the examples, please use the latest stable Rust version)

LICENSE

MIT OR Apache-2.0

Credits

tokio-splice

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages