29 lines
971 B
TOML
29 lines
971 B
TOML
[package]
|
|
name = "ha-now-playing"
|
|
description = "Retrieves the state of a media_player entity from Home Assistant"
|
|
version = "0.5.3"
|
|
authors = ["Erwin Boskma <erwin@datarift.nl>"]
|
|
edition = "2021"
|
|
include = ["src/**/*"]
|
|
|
|
[dependencies]
|
|
anyhow = "1.0.71"
|
|
async-tungstenite = { version = "0.22.2", features = ["tokio-rustls-native-certs"] }
|
|
clap = { version = "4.3.10", features = ["cargo", "unicode", "derive", "env", "wrap_help"] }
|
|
color-eyre = "0.6.2"
|
|
futures = "0.3.28"
|
|
reqwest = { version = "0.11.18", features = ["blocking", "json", "rustls-tls-native-roots"], default-features = false }
|
|
serde = { version = "1.0.165", features = ["derive"] }
|
|
serde_json = "1.0.99"
|
|
thiserror = "1.0.40"
|
|
tokio = { version = "1.29.1", features = ["full"] }
|
|
tracing = "0.1.37"
|
|
tracing-error = "0.2.0"
|
|
tracing-subscriber = { version = "0.3.17", features = ["env-filter", "registry"] }
|
|
tracing-tree = "0.2.3"
|
|
|
|
[profile.release]
|
|
opt-level = "z"
|
|
lto = true
|
|
codegen-units = 1
|
|
panic = "abort"
|