2017-08-03 18:58:44 +00:00
|
|
|
[package]
|
|
|
|
name = "librespot-core"
|
2021-10-24 18:12:33 +00:00
|
|
|
version = "0.3.1"
|
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"
|
2020-01-17 18:09:10 +00:00
|
|
|
edition = "2018"
|
2017-08-03 18:58:44 +00:00
|
|
|
|
|
|
|
[dependencies.librespot-protocol]
|
|
|
|
path = "../protocol"
|
2021-10-24 18:12:33 +00:00
|
|
|
version = "0.3.1"
|
2017-08-03 18:58:44 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2022-01-08 19:51:51 +00:00
|
|
|
aes = "0.7"
|
2020-11-27 07:02:53 +00:00
|
|
|
base64 = "0.13"
|
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"] }
|
2022-01-08 23:25:47 +00:00
|
|
|
hmac = "0.12"
|
2022-01-09 00:03:47 +00:00
|
|
|
httparse = "1.5"
|
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"] }
|
|
|
|
hyper-rustls = { version = "0.23", features = ["http2"] }
|
2019-07-08 08:08:32 +00:00
|
|
|
log = "0.4"
|
2021-06-22 21:57:38 +00:00
|
|
|
num = "0.4"
|
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-01-09 00:03:47 +00:00
|
|
|
once_cell = "1.9"
|
2021-12-26 21:55:45 +00:00
|
|
|
parking_lot = { version = "0.11", features = ["deadlock_detection"] }
|
2022-01-08 23:25:47 +00:00
|
|
|
pbkdf2 = { version = "0.10", default-features = false, features = ["hmac"] }
|
2022-01-09 00:03:47 +00:00
|
|
|
priority-queue = "1.2.1"
|
2022-01-08 23:25:47 +00:00
|
|
|
protobuf = "2"
|
2021-12-26 21:55:45 +00:00
|
|
|
quick-xml = { version = "0.22", features = ["serialize"] }
|
2021-02-10 21:54:35 +00:00
|
|
|
rand = "0.8"
|
2022-01-25 21:48:27 +00:00
|
|
|
rsa = { version = "0.5", default-features = false, features = ["alloc"] }
|
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"
|
2022-01-08 23:25:47 +00:00
|
|
|
sha-1 = "0.10"
|
|
|
|
shannon = "0.2"
|
2021-12-16 21:42:37 +00:00
|
|
|
thiserror = "1.0"
|
2022-01-14 22:28:09 +00:00
|
|
|
time = "0.3"
|
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"] }
|
2021-01-21 20:49:39 +00:00
|
|
|
tokio-util = { version = "0.6", features = ["codec"] }
|
2022-01-09 00:03:47 +00:00
|
|
|
url = "2"
|
2021-03-06 00:29:08 +00:00
|
|
|
uuid = { version = "0.8", default-features = false, features = ["v4"] }
|
2017-08-03 18:58:44 +00:00
|
|
|
|
|
|
|
[build-dependencies]
|
2021-02-10 21:54:35 +00:00
|
|
|
rand = "0.8"
|
2022-01-09 00:03:47 +00:00
|
|
|
vergen = { version = "6", default-features = false, features = ["build", "git"] }
|
2021-01-22 21:32:45 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2022-01-09 00:03:47 +00:00
|
|
|
env_logger = "0.9"
|
|
|
|
tokio = { version = "1", features = ["macros", "parking_lot"] }
|
2021-12-26 23:21:42 +00:00
|
|
|
|
|
|
|
[features]
|
|
|
|
with-dns-sd = ["dns-sd"]
|