Crates.io | tokio-file-unix |
lib.rs | tokio-file-unix |
version | 0.6.0 |
source | src |
created_at | 2017-02-05 13:21:22.952718 |
updated_at | 2020-12-06 09:23:58.835825 |
description | Asynchronous support for epollable files via Tokio on Unix-like platforms |
homepage | |
repository | https://github.com/Rufflewind/tokio-file-unix |
max_upload_size | |
id | 8397 |
size | 73,707 |
tokio-file-unix
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.
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;
See the examples
directory as well as the documentation.
Dual-licensed under Apache and MIT.