mirror of
https://github.com/librespot-org/librespot.git
synced 2024-12-18 17:11:53 +00:00
Merge pull request #585 from ericonr/patch-1
This commit is contained in:
commit
4990351dba
3 changed files with 3 additions and 7 deletions
4
Cargo.lock
generated
4
Cargo.lock
generated
|
@ -1538,9 +1538,9 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "librespot-tremor"
|
name = "librespot-tremor"
|
||||||
version = "0.1.0"
|
version = "0.2.0"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "b155a7dc4e4d272e01c37a1b85c1ee1bee7f04980ad4a7784c1a6e0f2de5929b"
|
checksum = "97f525bff915d478a76940a7b988e5ea34911ba7280c97bd3a7673f54d68b4fe"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"cc",
|
"cc",
|
||||||
"libc",
|
"libc",
|
||||||
|
|
|
@ -22,7 +22,7 @@ num-traits = "0.2"
|
||||||
tempfile = "3.1"
|
tempfile = "3.1"
|
||||||
aes-ctr = "0.3"
|
aes-ctr = "0.3"
|
||||||
|
|
||||||
librespot-tremor = { version = "0.1.0", optional = true }
|
librespot-tremor = { version = "0.2.0", optional = true }
|
||||||
vorbis = { version ="0.0.14", optional = true }
|
vorbis = { version ="0.0.14", optional = true }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
|
|
|
@ -73,10 +73,6 @@ impl fmt::Display for VorbisError {
|
||||||
}
|
}
|
||||||
|
|
||||||
impl error::Error for VorbisError {
|
impl error::Error for VorbisError {
|
||||||
fn description(&self) -> &str {
|
|
||||||
error::Error::description(&self.0)
|
|
||||||
}
|
|
||||||
|
|
||||||
fn source(&self) -> Option<&(dyn error::Error + 'static)> {
|
fn source(&self) -> Option<&(dyn error::Error + 'static)> {
|
||||||
error::Error::source(&self.0)
|
error::Error::source(&self.0)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue