#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

#81 in #loops

Download history 8294/week @ 2023-12-11 6683/week @ 2023-12-18 5814/week @ 2023-12-25 4708/week @ 2024-01-01 7328/week @ 2024-01-08 6803/week @ 2024-01-15 6286/week @ 2024-01-22 7019/week @ 2024-01-29 7334/week @ 2024-02-05 8485/week @ 2024-02-12 11483/week @ 2024-02-19 7961/week @ 2024-02-26 7074/week @ 2024-03-04 9094/week @ 2024-03-11 11540/week @ 2024-03-18 8857/week @ 2024-03-25

37,269 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