Removing and/or Revising "Install" section in for package with no library

I have a crate that is just a binary, and there's no library.

However, on, it adds an "Install" section on the right sidebar "Run the following Cargo command in your project directory:" and "Or add the following line to your Cargo.toml:"

Is there a way to replace those instructions with the more apt "Run the following Cargo command:"
cargo install <crate name>

I believe this is what you are looking for: Display `cargo install crate-name` rather than `cargo add crate-name` for binary crates · Issue #5882 · rust-lang/ · GitHub

TL;DR: It doesn't exist yet.

1 Like

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.