7 releases

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

#101 in #runtime

Download history 10/week @ 2024-01-08 16/week @ 2024-01-15 7/week @ 2024-01-22 3/week @ 2024-02-05 30/week @ 2024-02-12 42/week @ 2024-02-19 37/week @ 2024-02-26 44/week @ 2024-03-04 63/week @ 2024-03-11 38/week @ 2024-03-18 25/week @ 2024-03-25 61/week @ 2024-04-01 27/week @ 2024-04-08 28/week @ 2024-04-15

144 downloads per month
Used in 2 crates

MIT/Apache

32KB
490 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

~5.5MB
~82K SLoC