#io #async-io #future #events #primitive #tokio #loops

tokio-core

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

19 releases

Uses old Rust 2015

0.1.18 Dec 5, 2020
0.1.17 Apr 11, 2018
0.1.16 Mar 23, 2018
0.1.11 Dec 12, 2017
0.1.1 Nov 22, 2016

#47 in #loop

Download history 10295/week @ 2024-03-14 9961/week @ 2024-03-21 11484/week @ 2024-03-28 10243/week @ 2024-04-04 8927/week @ 2024-04-11 9759/week @ 2024-04-18 13838/week @ 2024-04-25 13751/week @ 2024-05-02 15141/week @ 2024-05-09 13710/week @ 2024-05-16 13415/week @ 2024-05-23 14702/week @ 2024-05-30 14534/week @ 2024-06-06 12741/week @ 2024-06-13 11328/week @ 2024-06-20 7461/week @ 2024-06-27

48,563 downloads per month
This crate has lost popularity

MIT/Apache

185KB
3K SLoC

Deprecation notice.

This crate is deprecated in favor of 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

~6MB
~91K SLoC