2021-07-31 17:16:00 +02:00
|
|
|
[package]
|
|
|
|
name = "ha-now-playing"
|
|
|
|
description = "Retrieves the state of a media_player entity from Home Assistant"
|
2022-11-05 10:44:25 +01:00
|
|
|
version = "0.4.4"
|
2021-07-31 17:16:00 +02:00
|
|
|
authors = ["Erwin Boskma <erwin@datarift.nl>"]
|
2021-11-25 23:42:28 +01:00
|
|
|
edition = "2021"
|
2022-07-04 11:17:01 +02:00
|
|
|
include = ["src/**/*"]
|
2021-07-31 17:16:00 +02:00
|
|
|
|
|
|
|
[dependencies]
|
2022-03-21 21:08:54 +01:00
|
|
|
anyhow = "1.0.56"
|
2022-03-28 16:16:28 +02:00
|
|
|
async-tungstenite = { version = "0.17.1", features = ["tokio-rustls-native-certs"] }
|
2022-03-21 21:57:19 +01:00
|
|
|
clap = { version = "3.1.6", features = ["cargo", "unicode", "derive", "env"] }
|
2022-03-21 21:08:54 +01:00
|
|
|
color-eyre = "0.6.1"
|
2022-03-28 16:16:28 +02:00
|
|
|
futures = "0.3.21"
|
2022-03-21 21:08:54 +01:00
|
|
|
reqwest = { version = "0.11.10", features = ["blocking", "json"] }
|
|
|
|
serde = { version = "1.0.136", features = ["derive"] }
|
|
|
|
serde_json = "1.0.79"
|
2022-04-12 21:42:06 +02:00
|
|
|
thiserror = "1.0.30"
|
2022-03-28 16:16:28 +02:00
|
|
|
tokio = { version = "1.17.0", features = ["full"] }
|
2022-03-21 21:08:54 +01:00
|
|
|
tracing = "0.1.32"
|
2022-03-28 16:16:28 +02:00
|
|
|
tracing-error = "0.2.0"
|
|
|
|
tracing-subscriber = { version = "0.3.9", features = ["env-filter", "registry"] }
|
|
|
|
tracing-tree = "0.2.0"
|
2021-07-31 17:16:00 +02:00
|
|
|
|
|
|
|
[profile.release]
|
|
|
|
opt-level = "z"
|
|
|
|
lto = true
|
|
|
|
codegen-units = 1
|
|
|
|
panic = "abort"
|