2017-08-03 18:58:44 +00:00
|
|
|
[package]
|
|
|
|
name = "librespot-core"
|
2022-07-30 20:28:12 +00:00
|
|
|
version = "0.5.0-dev"
|
2022-08-01 11:10:39 +00:00
|
|
|
rust-version = "1.61"
|
2017-08-03 18:58:44 +00:00
|
|
|
authors = ["Paul Lietar <paul@lietar.net>"]
|
|
|
|
build = "build.rs"
|
2020-11-26 19:31:51 +00:00
|
|
|
description = "The core functionality provided by librespot"
|
|
|
|
license = "MIT"
|
2020-11-26 19:30:37 +00:00
|
|
|
repository = "https://github.com/librespot-org/librespot"
|
2022-08-02 19:42:38 +00:00
|
|
|
edition = "2021"
|
2017-08-03 18:58:44 +00:00
|
|
|
|
|
|
|
[dependencies.librespot-protocol]
|
|
|
|
path = "../protocol"
|
2022-07-30 20:28:12 +00:00
|
|
|
version = "0.5.0-dev"
|
2017-08-03 18:58:44 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2022-07-27 21:31:11 +00:00
|
|
|
aes = "0.8"
|
2023-04-13 18:02:33 +00:00
|
|
|
base64 = "0.21"
|
2021-01-21 20:49:39 +00:00
|
|
|
byteorder = "1.4"
|
2021-11-26 22:21:27 +00:00
|
|
|
bytes = "1"
|
2022-01-08 23:25:47 +00:00
|
|
|
dns-sd = { version = "0.1", optional = true }
|
2021-03-18 16:51:50 +00:00
|
|
|
form_urlencoded = "1.0"
|
2022-01-08 20:21:31 +00:00
|
|
|
futures-core = "0.3"
|
|
|
|
futures-util = { version = "0.3", features = ["alloc", "bilock", "sink", "unstable"] }
|
2023-04-11 18:33:45 +00:00
|
|
|
governor = { version = "0.5", default-features = false, features = ["std", "jitter"] }
|
2022-08-25 23:51:00 +00:00
|
|
|
hex = "0.4"
|
2022-01-08 23:25:47 +00:00
|
|
|
hmac = "0.12"
|
2022-07-27 21:31:11 +00:00
|
|
|
httparse = "1.7"
|
2021-03-17 20:24:28 +00:00
|
|
|
http = "0.2"
|
2021-12-26 21:55:45 +00:00
|
|
|
hyper = { version = "0.14", features = ["client", "http1", "http2", "tcp"] }
|
2022-01-08 22:28:46 +00:00
|
|
|
hyper-proxy = { version = "0.9", default-features = false, features = ["rustls"] }
|
2023-04-13 19:20:55 +00:00
|
|
|
hyper-rustls = { version = "0.24", features = ["http2"] }
|
2019-07-08 08:08:32 +00:00
|
|
|
log = "0.4"
|
2022-08-29 21:09:51 +00:00
|
|
|
nonzero_ext = "0.3"
|
2021-03-18 16:51:50 +00:00
|
|
|
num-bigint = { version = "0.4", features = ["rand"] }
|
2021-06-22 21:57:38 +00:00
|
|
|
num-derive = "0.3"
|
2019-07-08 08:08:32 +00:00
|
|
|
num-integer = "0.1"
|
|
|
|
num-traits = "0.2"
|
2022-07-27 21:31:11 +00:00
|
|
|
once_cell = "1"
|
|
|
|
parking_lot = { version = "0.12", features = ["deadlock_detection"] }
|
2023-04-11 18:33:45 +00:00
|
|
|
pbkdf2 = { version = "0.12", default-features = false, features = ["hmac"] }
|
2022-05-23 13:00:35 +00:00
|
|
|
priority-queue = "1.2"
|
2023-01-17 20:46:14 +00:00
|
|
|
protobuf = "3"
|
2023-06-25 21:32:09 +00:00
|
|
|
quick-xml = { version = "0.29", features = ["serialize"] }
|
2021-02-10 21:54:35 +00:00
|
|
|
rand = "0.8"
|
2023-05-14 19:27:17 +00:00
|
|
|
rsa = "0.9.2"
|
2021-02-10 21:54:35 +00:00
|
|
|
serde = { version = "1.0", features = ["derive"] }
|
2019-03-15 14:50:15 +00:00
|
|
|
serde_json = "1.0"
|
2023-04-11 20:21:37 +00:00
|
|
|
sha1 = { version = "0.10", features = ["oid"] }
|
2022-01-08 23:25:47 +00:00
|
|
|
shannon = "0.2"
|
2023-05-14 19:27:17 +00:00
|
|
|
sysinfo = { version = "0.29", default-features = false }
|
2021-12-16 21:42:37 +00:00
|
|
|
thiserror = "1.0"
|
2022-09-01 20:35:03 +00:00
|
|
|
time = { version = "0.3", features = ["formatting", "parsing"] }
|
2022-01-08 22:28:46 +00:00
|
|
|
tokio = { version = "1", features = ["io-util", "macros", "net", "parking_lot", "rt", "sync", "time"] }
|
|
|
|
tokio-stream = "0.1"
|
|
|
|
tokio-tungstenite = { version = "*", default-features = false, features = ["rustls-tls-native-roots"] }
|
2022-05-23 13:00:35 +00:00
|
|
|
tokio-util = { version = "0.7", features = ["codec"] }
|
2022-01-09 00:03:47 +00:00
|
|
|
url = "2"
|
2022-08-25 23:51:00 +00:00
|
|
|
uuid = { version = "1", default-features = false, features = ["fast-rng", "v4"] }
|
2017-08-03 18:58:44 +00:00
|
|
|
|
|
|
|
[build-dependencies]
|
2021-02-10 21:54:35 +00:00
|
|
|
rand = "0.8"
|
2023-04-12 20:29:25 +00:00
|
|
|
vergen = { version = "8", default-features = false, features = ["build", "git", "gitcl"] }
|
2021-01-22 21:32:45 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2023-04-11 18:33:45 +00:00
|
|
|
env_logger = "0.10"
|
2022-01-09 00:03:47 +00:00
|
|
|
tokio = { version = "1", features = ["macros", "parking_lot"] }
|
2021-12-26 23:21:42 +00:00
|
|
|
|
|
|
|
[features]
|
|
|
|
with-dns-sd = ["dns-sd"]
|