Closed fengalin closed 2 years ago
failure is officially unmaintained which leads to cargo audit issuing a warning in projects using mpris-rs.
failure
cargo audit
mpris-rs
This PR uses:
thiserror
Error
std:error::Error
failure::Fail
anyhow
Consequent to https://github.com/Mange/mpris-rs/pull/61#issuecomment-1013429316.
failure
is officially unmaintained which leads tocargo audit
issuing a warning in projects usingmpris-rs
.This PR uses:
thiserror
for libraryError
s (implement thestd:error::Error
trait instead offailure::Fail
).anyhow
for context identification in the examples.Consequent to https://github.com/Mange/mpris-rs/pull/61#issuecomment-1013429316.