Made the impl_device macro more explicit about the implemented traits

This also converts impl_device into a procedural macro and get rid of a
lot of "magic" that was happening.
This commit is contained in:
2025-08-28 03:02:45 +02:00
parent c5262dcf35
commit d2b01123b8
26 changed files with 197 additions and 208 deletions

9
Cargo.lock generated
View File

@@ -119,7 +119,6 @@ dependencies = [
"air_filter_types",
"anyhow",
"async-trait",
"automation_cast",
"automation_lib",
"automation_macro",
"axum",
@@ -127,7 +126,6 @@ dependencies = [
"dyn-clone",
"eui48",
"google_home",
"impls",
"mlua",
"reqwest",
"rumqttc",
@@ -150,7 +148,6 @@ dependencies = [
"dyn-clone",
"futures",
"google_home",
"impls",
"indexmap",
"mlua",
"reqwest",
@@ -919,12 +916,6 @@ dependencies = [
"icu_properties",
]
[[package]]
name = "impls"
version = "1.0.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7a46645bbd70538861a90d0f26c31537cdf1e44aae99a794fb75a664b70951bc"
[[package]]
name = "indexmap"
version = "2.11.0"