From 44d98ca3e0771c41710eee5a229aa7c2831bff9a Mon Sep 17 00:00:00 2001 From: Mike Kaplinskiy Date: Sun, 21 Mar 2021 16:03:57 -0700 Subject: [PATCH] Prepare 0.2.1 (#37) * prepare 0.2.1 * readme --- CHANGELOG.md | 2 +- Cargo.lock | 2 +- Cargo.toml | 2 +- README.md | 2 +- release/Dockerfile | 2 +- src/syncer.rs | 3 +-- 6 files changed, 6 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 96ca789..6150f4c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -## Next +## 0.2.1 - Added support for a UINT64 attribute type. (Closes #34) - Broadcast discovery for all devices, even if one in the middle fails. - Omit attributes from devices with unknown types. diff --git a/Cargo.lock b/Cargo.lock index c7f67ae..59e876a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1603,7 +1603,7 @@ checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" [[package]] name = "wink-mqtt-rs" -version = "0.2.1-prerelease" +version = "0.2.1" dependencies = [ "async-channel", "async-trait", diff --git a/Cargo.toml b/Cargo.toml index 97425b5..6fca0a5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,7 +2,7 @@ cargo-features = ["strip"] [package] name = "wink-mqtt-rs" -version = "0.2.1-prerelease" +version = "0.2.1" authors = ["Mike Kaplinskiy "] edition = "2018" license = "CC-BY-4.0" diff --git a/README.md b/README.md index 1fcca92..6304360 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ You can configure more options by editing the `/opt/wink-mqtt-rs/config` file af ## Options ```bash -wink-mqtt-rs 0.2.0 +wink-mqtt-rs 0.2.1 Mike Kaplinskiy wink hub v1 mqtt bridge diff --git a/release/Dockerfile b/release/Dockerfile index 4672a2d..85334bb 100644 --- a/release/Dockerfile +++ b/release/Dockerfile @@ -2,7 +2,7 @@ FROM ubuntu:20.04 WORKDIR /tmp/ -RUN echo 2020-12-13 +RUN echo 2021-03-21 RUN apt update && apt install -y build-essential curl wget RUN wget -q https://musl.cc/arm-linux-musleabi-cross.tgz && tar -zxvf arm-linux-musleabi-cross.tgz --strip-components 1 -C /usr/local/ RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y diff --git a/src/syncer.rs b/src/syncer.rs index a5440fc..3cf3a7f 100644 --- a/src/syncer.rs +++ b/src/syncer.rs @@ -12,7 +12,6 @@ use slog::{crit, debug, error, info, trace, warn}; use slog_scope; use std::collections::{HashMap, VecDeque}; use std::error::Error; -use std::future::Future; use std::ops::Deref; use std::sync::Arc; use tokio::sync::Mutex; @@ -363,7 +362,7 @@ impl<'a> DeviceSyncer { } Err(e) => { crit!(slog_scope::logger(), "sending_failed_crashing_to_maybe_reconnect"; "error" => ?e); - panic!(e) + panic!("{:?}", e) } } }