File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change 1+ # ` async-std ` Examples
2+
3+ This directory contains example code that makes use of ` async-std ` .
4+
5+ Each example can be run from the command line.
6+
7+ For example, [ Hello World] [ hello-world ] can be run by running the following:
8+
9+ ```
10+ cargo run --example hello-world
11+ ```
12+
13+ - [ Hello World] [ hello-world ]
14+
15+ Spawns a task that says hello.
16+
17+ - [ Line Count] [ line-count ]
18+
19+ Counts the number of lines in a file given as an argument.
20+
21+ [ hello-world ] : https://github.com/async-rs/async-std/blob/master/examples/hello-world.rs
22+ [ line-count ] : https://github.com/async-rs/async-std/blob/master/examples/line-count.rs
23+ <!-- [list-dir]: https://github.com/async-rs/async-std/blob/master/examples/list-dir.rs -->
You can’t perform that action at this time.
0 commit comments