From cacf519583e07e7155f22b75f9d5f9c7c882fdf3 Mon Sep 17 00:00:00 2001 From: Ryan Summers Date: Tue, 20 Jul 2021 17:53:25 +0200 Subject: [PATCH] Updating NAL and minimq to allow broker reconnection --- Cargo.lock | 25 +++++++++++++++++++++++-- Cargo.toml | 4 ++-- 2 files changed, 25 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 7a8d540..4959e1f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -424,12 +424,13 @@ dependencies = [ [[package]] name = "minimq" version = "0.2.0" -source = "git+https://github.com/quartiq/minimq.git?rev=dbdbec0#dbdbec0b77d2e134dc6c025018a82c14cbdfbe34" +source = "git+https://github.com/quartiq/minimq.git?rev=93813e3#93813e37e013b04ffb5e02aca7eca1859b1b2443" dependencies = [ "bit_field", "embedded-nal", "enum-iterator", "heapless 0.7.3", + "smlang", ] [[package]] @@ -747,6 +748,26 @@ dependencies = [ "embedded-hal", ] +[[package]] +name = "smlang" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "de6880d53d3cffd26b03b95b37dfa80ab66937792a505a8c89c271bbde949ff5" +dependencies = [ + "smlang-macros", +] + +[[package]] +name = "smlang-macros" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "32f0936dcbf984fe0371e049d3e41a5cf4f8033da8cdea376101665e199575c2" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + [[package]] name = "smoltcp" version = "0.8.0" @@ -760,7 +781,7 @@ dependencies = [ [[package]] name = "smoltcp-nal" version = "0.1.0" -source = "git+https://github.com/quartiq/smoltcp-nal.git?rev=5baf55f#5baf55fafbfe2c08d9fe56c836171e9d2fb468e8" +source = "git+https://github.com/quartiq/smoltcp-nal.git?rev=0634188#063418836d112942203fb5e5fd501b946a6839b3" dependencies = [ "embedded-nal", "heapless 0.7.3", diff --git a/Cargo.toml b/Cargo.toml index cce9eeb..407d568 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -75,11 +75,11 @@ rev = "9c826f8" [dependencies.smoltcp-nal] git = "https://github.com/quartiq/smoltcp-nal.git" -rev = "5baf55f" +rev = "0634188" [dependencies.minimq] git = "https://github.com/quartiq/minimq.git" -rev = "dbdbec0" +rev = "93813e3" [features] nightly = ["cortex-m/inline-asm", "dsp/nightly"]