adding missing step of dependencies installation (#5492)

This commit is contained in:
Alexander Günsche
2023-01-03 16:48:24 +01:00
committed by GitHub
parent a71f679453
commit e3c7bf638a

View File

@@ -9,6 +9,12 @@ cargo new --bin rust_wasi_markdown_parser
cd rust_wasi_markdown_parser cd rust_wasi_markdown_parser
``` ```
Also, we need to add the `structopt` and `pulldown_cmark` crates to our project:
```bash
cargo add structopt pulldown_cmark
```
Then, we will open the `src/main.rs` and enter the following contents. Please see the comments to understand what our program will be doing. Then, we will open the `src/main.rs` and enter the following contents. Please see the comments to understand what our program will be doing.
## `src/main.rs` ## `src/main.rs`