From 8bb4a948fa69d881a45de9020535810a91fa25b5 Mon Sep 17 00:00:00 2001 From: Jorge Aparicio <jorge@japaric.io> Date: Sat, 29 Jul 2017 01:22:09 -0500 Subject: [PATCH] update the Cargo.toml --- Cargo.toml | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index b959bb8..5d7dba6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,21 +9,33 @@ repository = "https://github.com/japaric/blue-pill" version = "0.1.0" [dependencies] -static-ref = "0.1.0" -stm32f103xx = "0.6.1" +static-ref = "0.2.0" volatile-register = "0.2.0" [dependencies.cast] default-features = false version = "0.2.2" -[dependencies.either] -default-features = false -version = "1.1.0" - [dependencies.embedded-hal] git = "https://github.com/japaric/embedded-hal" rev = "5295697669f5b48a900aa325b8ebb4d4e8d4b236" [dependencies.nb] git = "https://github.com/japaric/nb" + +[dependencies.stm32f103xx] +features = ["rt"] +version = "0.7.2" + +[dev-dependencies] +cortex-m = "0.3.0" +cortex-m-rtfm = "0.2.0" +cortex-m-semihosting = "0.2.0" + +[dev-dependencies.cortex-m-rt] +features = ["abort-on-panic"] +version = "0.3.5" + +[profile.release] +debug = true +lto = true -- GitLab