From 290deab2e871b98fba6935b1820fba94b64dc8db Mon Sep 17 00:00:00 2001 From: Enrico Granata Date: Mon, 25 Aug 2025 14:53:31 -0600 Subject: [PATCH 1/2] Add cargo-install instructions to install.md I was not aware of cargo-binstall and assumed it to be a typo. cargo install seems to work, and cargo binstall requires an extra step, worth documenting IMHO --- book/src/install.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/book/src/install.md b/book/src/install.md index 82c3e3ffc..bfd9f8ad8 100644 --- a/book/src/install.md +++ b/book/src/install.md @@ -52,9 +52,16 @@ nix-env -i cargo-dist ### Other Options +#### cargo-install + +```sh +cargo install cargo-dist +``` + #### cargo-binstall ```sh +cargo install cargo-binstall # if you don't have binstall available already cargo binstall cargo-dist ``` From 9972cf5dc56342aa5fe2d4093844dee0c6c0adfb Mon Sep 17 00:00:00 2001 From: Enrico Granata Date: Mon, 25 Aug 2025 16:19:40 -0600 Subject: [PATCH 2/2] Swap cargo-install and cargo-binstall sections Swapped the sections for cargo-install and cargo-binstall commands. --- book/src/install.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/book/src/install.md b/book/src/install.md index bfd9f8ad8..cfb2b7317 100644 --- a/book/src/install.md +++ b/book/src/install.md @@ -52,17 +52,17 @@ nix-env -i cargo-dist ### Other Options -#### cargo-install +#### cargo-binstall ```sh -cargo install cargo-dist +cargo install cargo-binstall # if you don't have binstall available already +cargo binstall cargo-dist ``` -#### cargo-binstall +#### cargo-install ```sh -cargo install cargo-binstall # if you don't have binstall available already -cargo binstall cargo-dist +cargo install cargo-dist ``` ## Build From Source