#async #runtime #generic #tokio #std

runtime-tokio

A Tokio-based asynchronous runtime

7 releases

✓ Uses Rust 2018 edition

0.3.0-alpha.6 Aug 22, 2019
0.3.0-alpha.5 Jun 17, 2019
0.3.0-alpha.4 May 12, 2019
0.3.0-alpha.3 Apr 29, 2019
0.0.0 Mar 18, 2019

#14 in #std

Download history 154/week @ 2020-01-25 113/week @ 2020-02-01 84/week @ 2020-02-08 84/week @ 2020-02-15 88/week @ 2020-02-22 41/week @ 2020-02-29 29/week @ 2020-03-07 40/week @ 2020-03-14 45/week @ 2020-03-21 16/week @ 2020-03-28 20/week @ 2020-04-04 64/week @ 2020-04-11 17/week @ 2020-04-18 12/week @ 2020-04-25 2/week @ 2020-05-02 12/week @ 2020-05-09

270 downloads per month
Used in 5 crates

MIT/Apache

18KB
364 lines

runtime-tokio

A Tokio-based asynchronous Runtime. See the Runtime documentation for more details.

Examples

To enable this runtime do:

#[runtime::main(runtime_tokio::Tokio)]
async fn main() {}

Installation

With cargo-edit do:

$ cargo add runtime-tokio

Safety

This crate uses unsafe in a few places to construct pin projections not natively supported by Tokio.

Contributing

Want to join us? Check out our The "Contributing" section of the guide and take a look at some of these issues:

Conduct

The Runtime project adheres to the Contributor Covenant Code of Conduct. This describes the minimum behavior expected from all contributors.

License

Licensed under either of

at your option.

Contribution

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

Dependencies