aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Titus Wormer <tituswormer@gmail.com>2022-10-14 15:18:43 +0200
committerLibravatar Titus Wormer <tituswormer@gmail.com>2022-10-14 15:18:43 +0200
commit0e4a9e8d35aed25f9d7da2193569e7face463ff9 (patch)
treeafaebdd8a2ca3ea867804de0e48d80c6d717115a
parent87b3f1afa790cf62487d09f83cb4f499d56f1f3e (diff)
downloadmarkdown-rs-0e4a9e8d35aed25f9d7da2193569e7face463ff9.tar.gz
markdown-rs-0e4a9e8d35aed25f9d7da2193569e7face463ff9.tar.bz2
markdown-rs-0e4a9e8d35aed25f9d7da2193569e7face463ff9.zip
Update install command
Diffstat (limited to '')
-rw-r--r--readme.md6
1 files changed, 5 insertions, 1 deletions
diff --git a/readme.md b/readme.md
index aa5698e..685125f 100644
--- a/readme.md
+++ b/readme.md
@@ -76,9 +76,13 @@ This Rust crate has a sibling project in JavaScript: [`micromark`][micromark]
With [Rust][] (rust edition 2018+, ±version 1.56+), install with `cargo`:
```sh
-cargo install markdown
+cargo add markdown@1.0.0-alpha.1
```
+> 👉 **Note**: this is a new crate that reuses an old name.
+> The old crate (`0.3.0` and lower) has a bunch of problems.
+> Make sure to use the new crate, currently in alpha at `1.0.0-alpha.1`.
+
## Use
```rs