1
0
mirror of https://github.com/fafhrd91/actix-net synced 2025-06-27 06:09:02 +02:00

add actix single threaded runtime

This commit is contained in:
Nikolay Kim
2018-12-09 19:55:40 -08:00
parent 227ea15683
commit 98a151db4f
9 changed files with 905 additions and 0 deletions

12
actix-rt/src/lib.rs Normal file
View File

@ -0,0 +1,12 @@
//! A runtime implementation that runs everything on the current thread.
mod arbiter;
mod builder;
mod runtime;
mod system;
pub use self::builder::{Builder, SystemRunner};
pub use self::runtime::{Handle, Runtime};
pub use self::system::System;
// pub use tokio_current_thread::spawn;
// pub use tokio_current_thread::TaskExecutor;