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

tokio-core

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

#12 in Asynchronous

Download history 14155/week @ 2019-04-27 14970/week @ 2019-05-04 18428/week @ 2019-05-11 16677/week @ 2019-05-18 17511/week @ 2019-05-25 18414/week @ 2019-06-01 42754/week @ 2019-06-08 16428/week @ 2019-06-15 16775/week @ 2019-06-22 13887/week @ 2019-06-29 14628/week @ 2019-07-06 14742/week @ 2019-07-13 13486/week @ 2019-07-20 14644/week @ 2019-07-27 15660/week @ 2019-08-03

70,018 downloads per month
Used in 783 crates (391 directly)

MIT/Apache

180KB
3K SLoC

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.

tokio-core

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

Build Status Build status

Documentation

Tutorial

Usage

First, add this to your Cargo.toml:

[dependencies]
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.

License

This project is licensed under either of

at your option.

Contribution

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.

Dependencies

~2.5MB
~48K SLoC