Files

43 lines
1.3 KiB
TOML

[package]
name = "smart-home-in-rust-with-home-assistant"
version = "0.2.0"
edition = "2021"
license = { workspace = true }
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
name = "smart_home_in_rust_with_home_assistant"
crate-type = ["cdylib"]
[dependencies]
arbitrary-value = { path = "../arbitrary-value", features = ["pyo3"] }
arc-swap = "1.7.1"
async-gate = "0.4.0"
axum = { version = "0.8.1", default-features = false, features = [
"http1",
"tokio",
] }
clap = { version = "4", features = ["derive", "env"] }
deranged = { workspace = true, features = ["serde"] }
driver-kasa = { path = "../driver/kasa" }
emitter-and-signal = { path = "../emitter-and-signal" }
home-assistant = { path = "../home-assistant" }
im = { version = "15.1.0", features = ["rayon"] }
protocol = { path = "../protocol" }
pyo3 = { workspace = true, features = [
"auto-initialize",
"chrono",
"extension-module",
] }
pyo3-async-runtimes = { workspace = true, features = ["tokio-runtime"] }
shadow-rs = { version = "1.0.1", default-features = false }
snafu = { workspace = true }
tokio = { workspace = true, features = ["time"] }
tracing = { workspace = true }
tracing-appender = "0.2.3"
tracing-subscriber = "0.3.17"
uom = "0.36.0"
[build-dependencies]
shadow-rs = "1.0.1"