# homecore-hap — Apple Home HomeKit Accessory Protocol bridge (ADR-125 P1 scaffold) # # P1 ships the trait surface, accessory/characteristic types, entity→HAP mapping, # bridge API, and an mDNS-advertise stub. The actual HAP-1.1 server and real # mDNS integration are feature-gated to P2 via the `hap-server` feature flag. [package] name = "homecore-hap" version = "0.1.0-alpha.0" edition = "2021" license = "MIT" authors = ["rUv ", "HOMECORE Contributors"] description = "Fail-closed HomeKit Accessory Protocol network foundation for HOMECORE" repository = "https://github.com/ruvnet/wifi-densepose" [lib] name = "homecore_hap" path = "src/lib.rs" [features] default = [] # Enables the bounded TCP/HTTP listener and real `_hap._tcp` mDNS advertiser. # Pair-Setup, Pair-Verify, and encrypted HAP transport remain deliberately # unavailable until their complete cryptographic phases are implemented. hap-server = ["dep:httparse", "dep:mdns-sd"] [dependencies] homecore = { path = "../homecore" } tokio = { version = "1", features = ["fs", "io-util", "macros", "net", "rt", "rt-multi-thread", "sync", "time"] } serde = { version = "1", features = ["derive"] } serde_json = "1" thiserror = "2" tracing = "0.1" async-trait = "0.1" uuid = { version = "1", features = ["v4", "serde"] } ed25519-dalek = "2.1" tempfile = "3" httparse = { version = "1", optional = true } mdns-sd = { version = "0.11", optional = true } [dev-dependencies] tokio = { version = "1", features = ["fs", "io-util", "macros", "net", "rt", "rt-multi-thread", "sync", "time", "test-util"] }