Split MQTT socket handling from BulbManager

This commit is contained in:
2023-11-11 17:57:04 +01:00
parent 0c8f09e825
commit 4294d5c79e
10 changed files with 726 additions and 345 deletions

View File

@ -4,16 +4,17 @@ version = "0.1.0"
edition = "2021"
[dependencies]
anyhow = "1"
serde = { version = "1", features = ["derive"] }
clap = { version = "3.2", features = ["derive"] }
log = "0.4"
mqtt-protocol = { version = "0.11", features = ["tokio"] }
pretty_env_logger = "0.4.0"
serde_json = "1"
tokio = { version = "1.19.2", features = ["net", "rt-multi-thread", "macros", "sync", "io-std", "io-util", "time"] }
tokio = { version = "1.19.2", features = ["net", "rt-multi-thread", "macros", "sync", "io-std", "io-util", "time", "tracing"] }
toml = "0.5"
uuid = { version = "1.1", features = ["v4"] }
async-trait = "0.1.74"
eyre = "0.6.8"
[dependencies.lighter_lib]
path = "../lib"