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

View File

@@ -16,7 +16,6 @@ tokio = { version = "1", features = ["full"] }
warp = "0.3"
log = "0.4"
env_logger = "0.10"
pollster = "0.2.5"
toml = "0.5.10"
dotenv = "0.15.0"