fumio_reactor/lib.rs
1//! A reactor implementation compatible with `std` futures based on mio.
2//!
3//! Compared to romio this implementation gives more control over the reactor.
4//!
5//! The reactor needs to be polled explicitly and can therefor be integrated with other components
6//! (pool of futures, timer) to build a single threaded runtime (instead of running each component
7//! in a separate thread).
8//!
9//! While the main reactor struct can only be used by a single thread, the handles to it are
10//! thread-safe, and all threads can register for events with it.
11
12#![doc(html_root_url = "https://docs.rs/fumio-reactor/0.1.0")]
13#![warn(
14 missing_debug_implementations,
15 missing_docs,
16 nonstandard_style,
17 rust_2018_idioms,
18 clippy::pedantic,
19 clippy::nursery,
20 clippy::cargo,
21)]
22#![allow(
23 clippy::module_name_repetitions, // often hidden modules and reexported
24 clippy::if_not_else, // `... != 0` is a positive condition
25 clippy::multiple_crate_versions, // not useful
26)]
27
28mod helper;
29pub mod net;
30pub mod reactor;