2
0
Fork 1
mirror of https://github.com/async-rs/async-std.git synced 2025-01-16 10:49:55 +00:00
async-std/examples/README.md
2019-09-24 17:42:18 -04:00

678 B

async-std Examples

This directory contains example code that makes use of async-std.

Each example can be run from the command line.

For example, Hello World can be run by running the following:

cargo run --example hello-world

Spawns a task that says hello.

Counts the number of lines in a file given as an argument.