- Introduced a new mechanism in EventNormalizer to suppress duplicate events from child nodes of the same physical device. - Removed the device classification logic from the normalizer and replaced it with a rule-based system using Lua scripts. - Added support for user-defined device rules in Lua, allowing for flexible device naming based on various conditions. - Updated the state engine to handle device rules and resolve device names before dispatching events. - Modified the installation script to set up default configuration files for the daemon and Lua modules. - Improved the handling of systemd user services to dynamically set the ExecStart path based on the installation directory.
27 lines
654 B
TOML
27 lines
654 B
TOML
[package]
|
|
name = "breadd"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[dependencies]
|
|
bread-shared = { path = "../bread-shared" }
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
tokio.workspace = true
|
|
anyhow.workspace = true
|
|
tracing.workspace = true
|
|
tracing-subscriber.workspace = true
|
|
mlua = { version = "0.9", features = ["lua54", "vendored", "async", "serialize"] }
|
|
async-trait = "0.1"
|
|
toml = "0.8"
|
|
udev = { version = "0.9", features = ["send"] }
|
|
rtnetlink = "0.9"
|
|
zbus = { version = "3.13", features = ["tokio"] }
|
|
hex = "0.4"
|
|
futures-util = "0.3"
|
|
netlink-packet-route = "0.11"
|
|
netlink-packet-core = "0.4"
|
|
libc = "0.2"
|
|
|
|
[dev-dependencies]
|
|
tempfile = "3.13"
|