| Crates.io | ruyi |
| lib.rs | ruyi |
| version | 0.1.6 |
| created_at | 2017-05-11 10:04:20.346283+00 |
| updated_at | 2017-07-22 18:42:29.054878+00 |
| description | An event-driven framework for non-blocking, asynchronous I/O in Rust |
| homepage | https://github.com/agemocui/ruyi |
| repository | https://github.com/agemocui/ruyi |
| max_upload_size | |
| id | 14157 |
| size | 324,433 |
Ruyi is an event-driven framework for non-blocking, asynchronous I/O in Rust powered by futures.
To use ruyi, add the following to your Cargo.toml:
[dependencies]
ruyi = "0.1"
and then, add this to your crate:
extern crate ruyi;
Examples can be found in the examples folder in this repository.
Share-nothing - One loop per core model is recommended. Use SPSC queue to communicate between cores.Chained-buffer - Reduces/avoids memory copy as much as possible.Timer - Heap based and hashed timing-wheel based.Graceful Shutdown - Gate can be used to ensure that task completes before event loop ends.Currently supported:
To be supported:
Ruyi is distributed under the terms of both the MIT License and the Apache License (Version 2.0).
See LICENSE-APACHE and LICENSE-MIT for details.