w0rp / tokio-file-unix

Asynchronous support for epollable files via Tokio on Unix-like platforms

Home Page:https://docs.rs/tokio-file-unix

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tokio-file-unix

Documentation Crates.io Build Status

Asynchronous support for file-like objects via Tokio. Only supports Unix-like platforms.

This crate is primarily intended for pipes and other files that support nonblocking I/O. Regular files do not support nonblocking I/O, so this crate has no effect on them.

Usage

Add this to your Cargo.toml:

[dependencies]
tokio-file-unix = "0.5.1"

Next, add this to the root module of your crate:

extern crate tokio_file_unix;

Examples

See the examples directory as well as the documentation.

License

Dual-licensed under Apache and MIT.

About

Asynchronous support for epollable files via Tokio on Unix-like platforms

https://docs.rs/tokio-file-unix

License:Apache License 2.0


Languages

Language:Rust 94.8%Language:Shell 5.2%