A Platform Sendfile Wrapper for Rust

sendfile.rs is a wrapper library aimed to provide zero-copy I/O on platforms supporting it.

This library uses the syscall crate to make the system call, which uses inline assembly. Thus, nightly Rust is needed to utilize this library for now.

Supported platforms

Currently only Linux is supported; pull requests are welcome, of course.

This library is tested on Linux x86_64 by the author.

Usage

Please see the examples/ directory for usage instructions.

License

sendfile.rs is dual-licensed under either the Apache 2.0 license or the MIT license, which is the same licensing options of Rust.