bump version

This commit is contained in:
Laila van Reenen 2025-01-25 14:20:13 +01:00
parent bffcf75eee
commit fdb9462d33
Signed by: LailaTheElf
GPG Key ID: 8A3EF0226518C12D
3 changed files with 3 additions and 3 deletions

2
Cargo.lock generated
View File

@ -280,7 +280,7 @@ dependencies = [
[[package]]
name = "mqttAutomation"
version = "0.1.0"
version = "1.0.0"
dependencies = [
"crossbeam",
"json",

View File

@ -1,6 +1,6 @@
[package]
name = "mqttAutomation"
version = "0.1.0"
version = "1.0.0"
edition = "2021"
[dependencies]

View File

@ -215,7 +215,7 @@ fn main() {
match message {
Err(e) => println!("ERROR: publisher: faild to receve an message ({})", e),
Ok(msg) => {
// println!("DEBUG: publisher: topic={}; payload={}", msg.topic, msg.payload);
println!("DEBUG: publisher: topic={}; payload={}", msg.topic, msg.payload);
match client.publish(msg.topic, QoS::AtMostOnce, false, msg.payload) {
Err(_n) => println!("ERROR: publisher: faild to publish"),
Ok(_n) => {}