feat(config)!: Config now returns the mqtt config instead of the client

Instead the client is now created on the rust side based on the config.
Devices that require the mqtt client will now instead need to be
constructor using a function. This function receives the mqtt client.
This commit is contained in:
2025-10-19 04:58:53 +02:00
parent 303541929c
commit 95ec3f28ff
10 changed files with 70 additions and 122 deletions

1
Cargo.lock generated
View File

@@ -144,6 +144,7 @@ version = "0.1.0"
dependencies = [
"async-trait",
"automation_cast",
"automation_macro",
"bytes",
"dyn-clone",
"futures",