Skip to content

Commit

Permalink
README: Suggest pinning avr-hal revision
Browse files Browse the repository at this point in the history
avr-hal is still a very young project and we'll see quite a few breaking
changes still.  To make those less painful for downstream users, suggest
pinning the `avr-hal` version to a specific commit so upstream updates
won't accidentally break a downstream user's code when they do `cargo
update`.

Signed-off-by: Rahix <[email protected]>
  • Loading branch information
Rahix committed Oct 18, 2020
1 parent 7337cd7 commit 0c6cf16
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,11 @@ This is a step-by-step guide for creating a new project targeting Arduino Leonar

[dependencies.arduino-leonardo]
git = "https://github.com/Rahix/avr-hal"
rev = "<insert latest git-commit hash here>"
# ^- Pin the dependency to a specific version. You should use the latest
# commit hash from the avr-hal master branch. You can find it here:
#
# https://github.com/Rahix/avr-hal/commits/master

# Configure the build for minimal size
[profile.dev]
Expand Down

0 comments on commit 0c6cf16

Please sign in to comment.