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 |
#105 in #runtime
199 downloads per month
Used in 2 crates
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
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
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
~83K SLoC