From 0c6cf1675c2724354f1adeaeee69992acd371e80 Mon Sep 17 00:00:00 2001 From: Rahix Date: Sun, 18 Oct 2020 14:46:38 +0200 Subject: [PATCH] README: Suggest pinning avr-hal revision 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 --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index b200f8eced..bfdf9bbafc 100644 --- a/README.md +++ b/README.md @@ -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 = "" + # ^- 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]