From 1821b55fc173466ba48a1fe4fe1256ae0e6e1425 Mon Sep 17 00:00:00 2001 From: occheung Date: Thu, 10 Sep 2020 10:29:35 +0800 Subject: [PATCH] cargo: cleanup dependencies --- Cargo.toml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index cf5d13e..7622219 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,28 +6,26 @@ name = "firmware" version = "0.1.0" [dependencies] -cortex-m-semihosting = "0.3.3" panic-halt = "0.2.0" cortex-m = "0.6.2" cortex-m-rt = "0.6.12" embedded-hal = "0.2.4" stm32h7xx-hal = {version = "0.7.1", features = [ "stm32h743v", "rt", "unproven", "ethernet", "phy_lan8742a" ] } -smoltcp = { version = "0.6.0", default-features = false, features = [ "ethernet", "proto-ipv4", "proto-ipv6", "socket-tcp" ] } +smoltcp = { version = "0.6.0", default-features = false, features = [ "ethernet", "proto-ipv4", "proto-ipv6", "socket-tcp", "log" ] } nb = "1.0.0" -lexical-core = { version="0.7.1", features=["radix"], default-features=false } -libm = "0.2.0" embedded-nal = "0.1.0" minimq = "0.1.0" -enum-iterator = "0.6.0" heapless = "0.5.5" -generic-array = "0.14.3" # Logging and Panicking panic-itm = "0.4.1" panic-semihosting = { version = "0.5.3", features = [ "exit" ] } cortex-m-rtic = "0.5.3" -cortex-m-log = { version = "~0.6", features = [ "itm" ] } +cortex-m-log = { version = "0.6.2", features = [ "itm", "log-integration", "semihosting" ] } +cortex-m-semihosting = "0.3.3" +log = {version = "0.4.11"} +lazy_static = { version = "1.4.0", features = ["spin_no_std"] } [dependencies.scpi] git = "https://github.com/occheung/scpi-rs"