2
0
Fork 1
mirror of https://github.com/async-rs/async-std.git synced 2025-01-16 10:49:55 +00:00
No description
Find a file
2019-08-12 20:32:02 +02:00
benches Initial commit 2019-08-08 14:44:48 +02:00
examples Formatting 2019-08-12 12:50:35 +02:00
src Cleanup 2019-08-12 20:29:16 +02:00
tests Cleanup 2019-08-12 20:29:16 +02:00
.gitignore Initial commit 2019-08-08 14:44:48 +02:00
.travis.yml Initial commit 2019-08-08 14:44:48 +02:00
Cargo.toml Move async-task into a different repo 2019-08-12 20:29:32 +02:00
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md 2019-08-12 20:02:31 +02:00
LICENSE-APACHE Initial commit 2019-08-08 14:44:48 +02:00
LICENSE-MIT Initial commit 2019-08-08 14:44:48 +02:00
README.md Rename feature docs.rs to docs 2019-08-12 19:50:30 +02:00
rustfmt.toml Add rustfmt config 2019-08-08 16:04:14 +02:00

Async version of the Rust standard library

chat

This crate is an async version of std.

Quickstart

Clone the repo:

git clone git@github.com:stjepang/async-std.git && cd async-std

Read the docs:

cargo doc --features docs --open

Check out the examples. To run an example:

cargo run --example hello-world

Hello world

#![feature(async_await)]

use async_std::task;

fn main() {
    task::block_on(async {
        println!("Hello, world!");
    })
}

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.