2017-08-03 18:58:44 +00:00
|
|
|
[package]
|
|
|
|
name = "librespot-core"
|
2024-10-15 18:34:15 +00:00
|
|
|
version = "0.5.0"
|
2024-10-17 15:01:56 +00:00
|
|
|
rust-version.workspace = true
|
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
|
|
|
|
2024-09-13 05:35:55 +00:00
|
|
|
[dependencies.librespot-oauth]
|
|
|
|
path = "../oauth"
|
2024-10-15 18:34:15 +00:00
|
|
|
version = "0.5.0"
|
2024-09-13 05:35:55 +00:00
|
|
|
|
2017-08-03 18:58:44 +00:00
|
|
|
[dependencies.librespot-protocol]
|
|
|
|
path = "../protocol"
|
2024-10-15 18:34:15 +00:00
|
|
|
version = "0.5.0"
|
2017-08-03 18:58:44 +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"
|
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-08-06 09:13:32 +00:00
|
|
|
governor = { version = "0.6", default-features = false, features = ["std", "jitter"] }
|
2022-01-08 23:25:47 +00:00
|
|
|
hmac = "0.12"
|
2022-07-27 21:31:11 +00:00
|
|
|
httparse = "1.7"
|
2024-06-06 07:38:46 +00:00
|
|
|
http = "1.0"
|
|
|
|
hyper = { version = "1.3", features = ["http1", "http2"] }
|
|
|
|
hyper-util = { version = "0.1", features = ["client"] }
|
|
|
|
http-body-util = "0.1.1"
|
|
|
|
hyper-proxy2 = { version = "0.1", default-features = false, features = ["rustls"] }
|
2024-08-29 13:32:16 +00:00
|
|
|
hyper-rustls = { version = "0.27.2", 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"] }
|
2023-08-06 09:25:26 +00:00
|
|
|
num-derive = "0.4"
|
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"] }
|
2024-10-15 11:36:17 +00:00
|
|
|
pin-project-lite = "0.2"
|
2024-06-10 17:51:44 +00:00
|
|
|
priority-queue = "2.0"
|
2024-09-16 17:42:55 +00:00
|
|
|
protobuf = "3.5"
|
2024-08-28 11:42:13 +00:00
|
|
|
quick-xml = { version = "0.36.1", 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"
|
2024-08-27 21:16:48 +00:00
|
|
|
sysinfo = { version = "0.31.3", default-features = false, features = ["system"] }
|
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"
|
2024-10-15 18:47:57 +00:00
|
|
|
tokio-tungstenite = { version = "0.24", 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"] }
|
2023-12-01 16:38:59 +00:00
|
|
|
data-encoding = "2.5"
|
2017-08-03 18:58:44 +00:00
|
|
|
|
|
|
|
[build-dependencies]
|
2021-02-10 21:54:35 +00:00
|
|
|
rand = "0.8"
|
2024-08-28 11:13:29 +00:00
|
|
|
vergen-gitcl = { version = "1.0.0", default-features = false, features = ["build"] }
|
2021-01-22 21:32:45 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
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"]
|