Instead of using pollster we use tokio::spawn to spawn a seperate task for subscribing and publishing to mqtt

This commit is contained in:
2022-12-25 01:29:30 +01:00
parent 1299443a7c
commit 6c4ae9ec35
3 changed files with 11 additions and 6 deletions

1
Cargo.lock generated
View File

@@ -33,7 +33,6 @@ dependencies = [
"impl_cast",
"log",
"paste",
"pollster",
"rumqttc",
"serde",
"serde_json",