Instead of having to call all the module registration functions in one place it is possible for each module to register itself in a global registry. During startup all the all the modules will be registered automatically. This does currently have one weakness, to need to ensure that the crate is linked.
27 lines
740 B
TOML
27 lines
740 B
TOML
[package]
|
|
name = "automation_devices"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
|
|
[dependencies]
|
|
air_filter_types = { workspace = true }
|
|
anyhow = { workspace = true }
|
|
async-trait = { workspace = true }
|
|
automation_lib = { workspace = true }
|
|
automation_macro = { workspace = true }
|
|
bytes = { workspace = true }
|
|
dyn-clone = { workspace = true }
|
|
eui48 = { workspace = true }
|
|
google_home = { workspace = true }
|
|
inventory = { workspace = true }
|
|
mlua = { workspace = true }
|
|
reqwest = { workspace = true }
|
|
rumqttc = { workspace = true }
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
serde_repr = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
tokio = { workspace = true }
|
|
tracing = { workspace = true }
|
|
wakey = { workspace = true }
|