7 releases
0.3.0-alpha.6 | Aug 22, 2019 |
---|---|
0.3.0-alpha.5 | Jun 26, 2019 |
0.3.0-alpha.3 | May 12, 2019 |
0.3.0-alpha.2 | Apr 29, 2019 |
0.0.0 | Mar 18, 2019 |
#416 in #generic
297 downloads per month
30KB
447 lines
runtime-native
A cross-platform asynchronous Runtime. See the Runtime documentation for more details.
Examples
Runtime Native is the default Runtime. However it can still be set like any other Runtime:
#[runtime::main(runtime_native::Native)]
async fn main() {}
Installation
With cargo-edit do:
$ cargo add runtime-native
Safety
This crate uses #![deny(unsafe_code)]
to ensure everything is implemented in 100% Safe Rust.
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
~1–3MB
~53K SLoC