Uses old Rust 2015
|0.1.6||Jul 22, 2017|
|0.1.5||Jun 13, 2017|
|0.1.2||May 29, 2017|
#429 in Asynchronous
35 downloads per month
Ruyi is an event-driven framework for non-blocking, asynchronous I/O in Rust powered by futures.
ruyi, add the following to your
[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.
Gatecan be used to ensure that task completes before event loop ends.
- Linux 2.6.28+
To be supported:
- Windows 7+
- OS X
- FreeBSD 10.0+
- OpenBSD 5.7+
- NetBSD 8.0+
Ruyi is distributed under the terms of both the MIT License and the Apache License (Version 2.0).
LICENSE-MIT for details.