Skip to content

Commit

Permalink
Update README comment about cargo add (#841)
Browse files Browse the repository at this point in the history
Since `libcnb.rs`'s minimum Rust version is now Rust 1.76, so the "or install cargo-edit" suggestion won't help if `cargo add` is missing, since the user will need to update their Rust version regardless.
  • Loading branch information
edmorley authored Jul 17, 2024
1 parent 00f3309 commit 3fa2c6c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ Then, add the `libcnb` dependency to your project's `Cargo.toml`:
cargo add libcnb
```

Note: If you get an error about `cargo add` not being a supported command, make sure you are
using Rust 1.62+, or else install [cargo-edit](https://github.com/killercup/cargo-edit).
Note: If you get an error about `cargo add` not being a supported command, your Rust version is too old
and will need to be updated (ideally to the latest stable version).

Since we're writing a Cloud Native Buildpack, we also need a `buildpack.toml`. Use the template below and write it to a
file named `buildpack.toml` in the root of your project, right next to `Cargo.toml`.
Expand Down

0 comments on commit 3fa2c6c

Please sign in to comment.