Enable apresolve feature in librespot-core

Fixes #535
This commit is contained in:
Henrik Friedrichsen
2021-05-31 15:43:50 +02:00
parent c7b2c79251
commit 6749b543fa
2 changed files with 43 additions and 1 deletions

42
Cargo.lock generated
View File

@@ -1161,6 +1161,31 @@ version = "0.9.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d7afe4a420e3fe79967a00898cc1f4db7c8a49a9333a29f8a4bd76a253d5cd04"
[[package]]
name = "headers"
version = "0.3.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f0b7591fb62902706ae8e7aaff416b1b0fa2c0fd0878b46dc13baa3712d8a855"
dependencies = [
"base64 0.13.0",
"bitflags 1.2.1",
"bytes 1.0.1",
"headers-core",
"http",
"mime",
"sha-1",
"time",
]
[[package]]
name = "headers-core"
version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e7f66481bfee273957b1f20485a4ff3362987f85b2c236580d81b4eb7a326429"
dependencies = [
"http",
]
[[package]]
name = "heck"
version = "0.3.2"
@@ -1296,6 +1321,21 @@ dependencies = [
"want",
]
[[package]]
name = "hyper-proxy"
version = "0.9.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ca815a891b24fdfb243fa3239c86154392b0953ee584aa1a2a1f66d20cbe75cc"
dependencies = [
"bytes 1.0.1",
"futures 0.3.15",
"headers",
"http",
"hyper 0.14.8",
"tokio 1.6.1",
"tower-service",
]
[[package]]
name = "hyper-tls"
version = "0.4.3"
@@ -1588,6 +1628,8 @@ dependencies = [
"hmac",
"http",
"httparse",
"hyper 0.14.8",
"hyper-proxy",
"librespot-protocol",
"log",
"num-bigint",

View File

@@ -24,7 +24,7 @@ fern = "0.6"
futures = { version = "0.3", features = ["compat"] }
futures_01 = { version = "0.1", package = "futures" }
lazy_static = "1.3.0"
librespot-core = "0.2.0"
librespot-core = { version = "0.2.0", features = ["apresolve"] }
librespot-playback = "0.2.0"
librespot-protocol = "0.2.0"
log = "0.4.13"