Introduce core modules: device management, bus communication, and discovery protocol. Adds system device interface, virtual hardware bus, and device discovery logic. Includes tests for all components.

This commit is contained in:
geoffsee
2025-07-03 12:24:25 -04:00
parent 2311f43d97
commit 72bf4b53c6
7 changed files with 1810 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
[package]
name = "hardware"
version = "0.1.0"
edition = "2021"
[dependencies]
async-trait = "0.1"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
thiserror = "1.0"
tokio = { version = "1.0", features = ["full"] }
uuid = { version = "1.0", features = ["v4"] }
tracing = "0.1"
[dev-dependencies]
tokio-test = "0.4"