A cross-platform asynchronous Runtime. See the Runtime documentation for more details.
Runtime Native is the default Runtime. However it can still be set like any other Runtime:
#[runtime::main(runtime_native::Native)]
async fn main() {}With cargo-edit do:
$ cargo add runtime-nativeThis crate uses #![deny(unsafe_code)] to ensure everything is implemented in 100% Safe Rust.
Want to join us? Check out our The "Contributing" section of the guide and take a look at some of these issues:
The Runtime project adheres to the Contributor Covenant Code of Conduct. This describes the minimum behavior expected from all contributors.
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.
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.