No description
Find a file
Stjepan Glavina 68d7a9c34e Refactor
2019-08-12 18:38:59 +02:00
async-task Initial commit 2019-08-08 14:44:48 +02:00
benches Initial commit 2019-08-08 14:44:48 +02:00
examples Formatting 2019-08-12 12:50:35 +02:00
src Refactor 2019-08-12 18:38:59 +02:00
tests Cleanup, docs, fmt 2019-08-12 18:00:21 +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 Revamp IO traits and Stream trait 2019-08-12 12:50:35 +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 Update README.md 2019-08-12 12:51:58 +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.rs --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.