From f993ee5e2806539269d205c4519548c20c858fc4 Mon Sep 17 00:00:00 2001 From: occheung Date: Fri, 25 Sep 2020 10:23:49 +0800 Subject: [PATCH] cargo: modify dependencies --- Cargo.lock | 44 ++++++++++++++++++++++---------------------- Cargo.toml | 28 +--------------------------- 2 files changed, 23 insertions(+), 49 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 526f0b8..7c2c57b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -184,28 +184,6 @@ dependencies = [ "syn", ] -[[package]] -name = "firmware" -version = "0.1.0" -dependencies = [ - "cortex-m", - "cortex-m-log", - "cortex-m-rt", - "cortex-m-rtic", - "embedded-hal", - "embedded-nal", - "heapless", - "lazy_static", - "log", - "minimq", - "nb 1.0.0", - "nom", - "panic-halt", - "panic-itm", - "smoltcp", - "stm32h7xx-hal", -] - [[package]] name = "generic-array" version = "0.12.3" @@ -261,6 +239,28 @@ dependencies = [ "stable_deref_trait", ] +[[package]] +name = "humpback-dds" +version = "0.1.0" +dependencies = [ + "cortex-m", + "cortex-m-log", + "cortex-m-rt", + "cortex-m-rtic", + "embedded-hal", + "embedded-nal", + "heapless", + "lazy_static", + "log", + "minimq", + "nb 1.0.0", + "nom", + "panic-halt", + "panic-itm", + "smoltcp", + "stm32h7xx-hal", +] + [[package]] name = "indexmap" version = "1.6.0" diff --git a/Cargo.toml b/Cargo.toml index 10d5c4f..7ed404b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,7 +2,7 @@ authors = ["occheung"] edition = "2018" readme = "README.md" -name = "firmware" +name = "humpback-dds" version = "0.1.0" [dependencies] @@ -26,35 +26,9 @@ cortex-m-log = { version = "0.6.2", features = [ "itm", "log-integration" ] } log = {version = "0.4.11"} lazy_static = { version = "1.4.0", features = ["spin_no_std"] } -# [dependencies.scpi] -# git = "https://github.com/occheung/scpi-rs" -# branch = "issue-4" -# default-features = false -# features = [ "build-info", "unit-frequency", "unit-angle" ] - [patch.crates-io] smoltcp = { git = "https://github.com/smoltcp-rs/smoltcp.git" } -[[example]] -name = "ethernet" - -[[example]] -name = "fpga_config" - -[[example]] -name = "tcp_client" - -[[example]] -name = "mqtt_client" - -[[example]] -name = "mqtt_hello_world" - -[[bin]] -name = "firmware" -test = false -bench = false - [profile.release] codegen-units = 1 # better optimizations debug = true # symbols are nice and they don't increase the size on Flash