2021-02-28 23:10:13 +00:00
|
|
|
[package]
|
|
|
|
name = "librespot-discovery"
|
2024-10-31 22:14:13 +00:00
|
|
|
version = "0.6.0-dev"
|
2024-10-17 15:01:56 +00:00
|
|
|
rust-version.workspace = true
|
2021-02-28 23:10:13 +00:00
|
|
|
authors = ["Paul Lietar <paul@lietar.net>"]
|
|
|
|
description = "The discovery logic for librespot"
|
|
|
|
license = "MIT"
|
|
|
|
repository = "https://github.com/librespot-org/librespot"
|
2022-08-02 19:42:38 +00:00
|
|
|
edition = "2021"
|
2021-02-28 23:10:13 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2022-07-27 21:31:11 +00:00
|
|
|
aes = "0.8"
|
2024-06-10 16:31:01 +00:00
|
|
|
base64 = "0.22"
|
2024-06-06 09:05:42 +00:00
|
|
|
bytes = "1"
|
2022-07-27 21:31:11 +00:00
|
|
|
ctr = "0.9"
|
2021-12-26 23:21:42 +00:00
|
|
|
dns-sd = { version = "0.1.3", optional = true }
|
2021-02-28 23:10:13 +00:00
|
|
|
form_urlencoded = "1.0"
|
|
|
|
futures-core = "0.3"
|
2021-12-26 20:18:42 +00:00
|
|
|
futures-util = "0.3"
|
2022-01-08 23:25:47 +00:00
|
|
|
hmac = "0.12"
|
2024-06-06 09:05:42 +00:00
|
|
|
hyper = { version = "1.3", features = ["http1"] }
|
|
|
|
hyper-util = { version = "0.1", features = ["server-auto", "server-graceful", "service"] }
|
|
|
|
http-body-util = "0.1.1"
|
2024-10-26 14:45:02 +00:00
|
|
|
libmdns = { version = "0.9", optional = true }
|
2021-02-28 23:10:13 +00:00
|
|
|
log = "0.4"
|
|
|
|
rand = "0.8"
|
2024-10-26 14:45:02 +00:00
|
|
|
serde = { version = "1", default-features = false, features = ["derive"], optional = true }
|
|
|
|
serde_repr = "0.1"
|
2022-01-09 15:04:53 +00:00
|
|
|
serde_json = "1.0"
|
2022-07-27 21:31:11 +00:00
|
|
|
sha1 = "0.10"
|
2021-03-17 17:47:27 +00:00
|
|
|
thiserror = "1.0"
|
2022-01-08 22:28:46 +00:00
|
|
|
tokio = { version = "1", features = ["parking_lot", "sync", "rt"] }
|
2024-10-26 14:45:02 +00:00
|
|
|
zbus = { version = "4", default-features = false, features = ["tokio"], optional = true }
|
2021-02-28 23:10:13 +00:00
|
|
|
|
|
|
|
[dependencies.librespot-core]
|
|
|
|
path = "../core"
|
2024-10-31 22:14:13 +00:00
|
|
|
version = "0.6.0-dev"
|
2021-02-28 23:10:13 +00:00
|
|
|
|
2021-03-12 15:39:58 +00:00
|
|
|
[dev-dependencies]
|
|
|
|
futures = "0.3"
|
|
|
|
hex = "0.4"
|
2022-01-08 22:28:46 +00:00
|
|
|
tokio = { version = "1", features = ["macros", "parking_lot", "rt"] }
|
2021-03-12 15:39:58 +00:00
|
|
|
|
2021-02-28 23:10:13 +00:00
|
|
|
[features]
|
2024-10-26 14:45:02 +00:00
|
|
|
with-avahi = ["zbus", "serde"]
|
|
|
|
with-dns-sd = ["dns-sd"]
|
|
|
|
with-libmdns = ["libmdns"]
|
|
|
|
|
|
|
|
default = ["with-libmdns"]
|