#tokio #core #rest #event #event-loop #loop #scheduled


Core I/O and event loop primitives for asynchronous I/O in Rust. Foundation for the rest of the tokio crates.

18 releases

0.1.17 Apr 11, 2018
0.1.16 Mar 23, 2018
0.1.12 Jan 8, 2018
0.1.11 Dec 12, 2017
0.1.1 Nov 22, 2016

#166 in Asynchronous

Download history 18874/week @ 2019-11-01 17308/week @ 2019-11-08 19510/week @ 2019-11-15 18809/week @ 2019-11-22 19753/week @ 2019-11-29 21149/week @ 2019-12-06 18424/week @ 2019-12-13 12615/week @ 2019-12-20 10536/week @ 2019-12-27 17547/week @ 2020-01-03 18396/week @ 2020-01-10 16716/week @ 2020-01-17 17017/week @ 2020-01-24 16301/week @ 2020-01-31 13542/week @ 2020-02-07

83,131 downloads per month
Used in 772 crates (383 directly)



Deprecation notice.

This crate is scheduled for deprecation in favor of tokio.

tokio-core is still actively maintained, but only bug fixes will be applied. All new feature development is happening in tokio.


Core I/O and event loop abstraction for asynchronous I/O in Rust built on futures and mio.

Build Status Build status




First, add this to your Cargo.toml:

tokio-core = "0.1"

Next, add this to your crate:

extern crate tokio_core;

You can find extensive documentation and examples about how to use this crate online at https://tokio.rs as well as the examples folder in this repository. The API documentation is also a great place to get started for the nitty-gritty.


This project is licensed under either of

at your option.


Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in tokio-core by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.


~59K SLoC