-
Notifications
You must be signed in to change notification settings - Fork 822
Expand file tree
/
Copy pathCargo.toml
More file actions
78 lines (68 loc) · 2.01 KB
/
Cargo.toml
File metadata and controls
78 lines (68 loc) · 2.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
[package]
name = "librespot-discovery"
version = "0.8.0"
rust-version.workspace = true
authors = ["Paul Lietar <[email protected]>"]
license.workspace = true
description = "The discovery logic for librespot"
repository.workspace = true
edition.workspace = true
[[example]]
name = "discovery_group"
required-features = ["default"]
[[example]]
name = "discovery"
required-features = ["default"]
[features]
# Refer to the workspace Cargo.toml for the list of features
default = ["with-libmdns", "native-tls"]
# Discovery backends
with-avahi = ["dep:zbus", "futures-util/async-await-macro"]
with-dns-sd = ["dep:dns-sd"]
with-libmdns = ["dep:libmdns"]
# TLS backend propagation
native-tls = ["librespot-core/native-tls"]
rustls-tls-native-roots = ["librespot-core/rustls-tls-native-roots"]
rustls-tls-webpki-roots = ["librespot-core/rustls-tls-webpki-roots"]
[dependencies]
librespot-core = { version = "0.8.0", path = "../core", default-features = false }
aes = "0.8"
base64 = "0.22"
bytes = "1"
ctr = "0.9"
dns-sd = { version = "0.1", optional = true }
form_urlencoded = "1.2"
futures-core = "0.3"
futures-util = { version = "0.3", default-features = false, features = ["std"] }
hmac = "0.12"
http-body-util = "0.1"
hyper = { version = "1.6", features = ["http1"] }
hyper-util = { version = "0.1", features = [
"server-auto",
"server-graceful",
"service",
] }
libmdns = { version = "0.10", optional = true }
log = "0.4"
rand = { version = "0.9", default-features = false, features = ["thread_rng"] }
serde = { version = "1", default-features = false, features = [
"derive",
]}
serde_repr = "0.1"
serde_json = "1.0"
sha1 = "0.10"
thiserror = "2"
tokio = { version = "1", features = ["sync", "rt"] }
zbus = { version = "5", default-features = false, features = [
"tokio",
], optional = true }
clap = { version = "4.5.54", default-features = false }
enum-assoc = "1.2.4"
[dev-dependencies]
futures = "0.3"
hex = "0.4"
tokio = { version = "1", features = ["macros", "rt"] }
[build-dependencies]
cfg_aliases = "0.2.1"
[lints]
workspace = true