Crates.io | rotor-tools |
lib.rs | rotor-tools |
version | 0.3.2 |
source | src |
created_at | 2016-02-03 15:30:52.370107 |
updated_at | 2016-03-28 20:38:50.593576 |
description | Various utility things for comfortable writing of application and protocols using rotor library |
homepage | http://github.com/tailhook/rotor-tools |
repository | |
max_upload_size | |
id | 4072 |
size | 35,118 |
:Documentation: http://tailhook.github.io/rotor-tools/
This module contains various tools that are useful for wrinting applications using rotor_ asynchronous framework for rust.
The tools here could be the core of rotor we are trying to make rotor itself as small as possible, because all things in the same application (actually the same main loop) should have same version of rotor core library. But different versions of other libraries are possible, including rotor-tools.
Tools included:
#. Simplified state machines:
#. A bare timer, including interval_func(duration, |_| { do_something() })
#. Loop setup helpers
#. LoopExt::add_and_fetch
-- easier setup of client protocols
.. _rotor: http://github.com/tailhook/rotor
Licensed under either of
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.