2
0
Fork 1
mirror of https://github.com/async-rs/async-std.git synced 2025-04-27 10:46:49 +00:00
async-std/docs/src/overview.md
2019-08-08 15:54:19 +02:00

1.2 KiB

Overview

async-std and async-task along with their supporting libraries are a two libraries making your life in async programming easier. They provide fundamental implementations for downstream libraries and applications alike.

async-std provides an interface to all important primitives: filesystem operations, network operations and concurrency basics like timers. It also exposes async-task in a model similar to the thread module found in the Rust standard lib. The name reflects the approach of this library: it is a closely modeled to the Rust main standard library as possible, replacing all components by async counterparts. You can read more about async-std in the overview chapter.

async-task is a library for implementing asynchronous tasks quickly. For the purpose of this documentation, you will mainly interact with it through the async_std::task module. Still, it has some nice properties to be aware of, which you can read up on in the async-task overview chapter.