adding missing step of dependencies installation (#5492)
This commit is contained in:
committed by
GitHub
parent
a71f679453
commit
e3c7bf638a
@@ -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`
|
||||||
|
|||||||
Reference in New Issue
Block a user