[package]
edition = "2021"
name = "homecore-api"
version = "0.1.0-alpha.0"
authors = [
"rUv <ruv@ruv.net>",
"HOMECORE Contributors",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Wire-compatible Axum REST + WebSocket port of Home Assistant's API (ADR-130)"
readme = "README.md"
license = "MIT"
repository = "https://github.com/ruvnet/RuView"
[lib]
name = "homecore_api"
path = "src/lib.rs"
[[bin]]
name = "homecore-api-server"
path = "src/bin/server.rs"
[[test]]
name = "compatibility_surface"
path = "tests/compatibility_surface.rs"
[[test]]
name = "server_bin_auth"
path = "tests/server_bin_auth.rs"
[[test]]
name = "ws_handshake"
path = "tests/ws_handshake.rs"
[dependencies.axum]
version = "0.7"
features = [
"ws",
"json",
"macros",
]
[dependencies.chrono]
version = "0.4"
features = ["serde"]
[dependencies.dashmap]
version = "6"
[dependencies.futures-util]
version = "0.3"
features = ["sink"]
default-features = false
[dependencies.homecore]
version = "0.1.0-alpha.0"
[dependencies.homecore-automation]
version = "0.1.0-alpha.0"
[dependencies.homecore-recorder]
version = "0.1.0-alpha.0"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "1"
[dependencies.tokio]
version = "1"
features = ["full"]
[dependencies.tower]
version = "0.5"
[dependencies.tower-http]
version = "0.6"
features = [
"cors",
"trace",
]
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]
[dependencies.uuid]
version = "1"
features = [
"v4",
"serde",
]
[dev-dependencies.futures-util]
version = "0.3"
default-features = false
[dev-dependencies.http-body-util]
version = "0.1"
[dev-dependencies.hyper]
version = "1"
[dev-dependencies.tokio-tungstenite]
version = "0.24"
[dev-dependencies.tower]
version = "0.5"
features = ["util"]