From 1dfd8694c6dfa31ba154456cd17ef2efe6bd7c7a Mon Sep 17 00:00:00 2001 From: Robin Krahl Date: Tue, 17 Dec 2019 08:57:16 +0000 Subject: Update dependencies to newest versions This patch updates all dependencies to the newest versions (except static_assertions). It replaces the Git versions of stm32f103xx-usb and usb-device with crates.io versions of stm32-usbd (via stm32f1xx-hal) and usb-device. This bumps the minimum supported Rust version to 1.36.0 (for stm32-usbd). static_assertions is not updated as it would require an even newer Rust version. --- Cargo.toml | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 0d773d8..8504c06 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,19 +10,18 @@ readme = "README.md" edition = "2018" [dependencies] -cortex-m = "0.5.8" -cortex-m-rt = "0.6.7" -embedded-hal = "0.2.2" +cortex-m = "0.6.1" +cortex-m-rt = "0.6.11" +embedded-hal = "0.2.3" panic-halt = "0.2.0" -serde-big-array = "0.1.4" -static_assertions = "0.3.1" -stm32f103xx-usb = { git = "https://github.com/mvirkkunen/stm32f103xx-usb", rev = "57d23751367461bec5f39322727bdd65e5c2aa30" } -usb-device = { git = "https://github.com/mvirkkunen/usb-device", rev = "e58e30f3b9c9bf4aab00ea039d129b964a3fd2d3" } +serde-big-array = "0.2.0" +static_assertions = "0.3.4" +usb-device = "0.2.3" [dependencies.hal] package = "stm32f1xx-hal" -version = "0.1.1" -features = ["stm32f103", "rt"] +version = "0.5.2" +features = ["stm32-usbd", "stm32f103", "rt"] [dependencies.serde] version = "1.0" -- cgit v1.2.1