#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

#49 in #loops

Download history 10806/week @ 2024-07-19 12915/week @ 2024-07-26 10496/week @ 2024-08-02 13417/week @ 2024-08-09 10846/week @ 2024-08-16 11636/week @ 2024-08-23 11126/week @ 2024-08-30 10909/week @ 2024-09-06 10333/week @ 2024-09-13 9400/week @ 2024-09-20 9827/week @ 2024-09-27 9452/week @ 2024-10-04 9138/week @ 2024-10-11 10281/week @ 2024-10-18 9147/week @ 2024-10-25 8833/week @ 2024-11-01

38,588 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
~93K SLoC