Closed SSheldon closed 4 years ago
Hmm, I just noticed that the sibling atom_syndication
crate accepted a PR to replace failure
with thiserror
in rust-syndication/atom#17.
This handwritten code for the error is really not much, and it doesn't seem worth pulling in more dependencies to avoid it to me...
I took the liberty of including an updated from the deprecated Error
APIs to bring this in-line with atom after the changes in rust-syndication/atom#18.
Now that rust-syndication/atom#18 has been merged, this change will bring the design of the errors in rss and atom in line.
Anything else I need to do before this can be merged?
Anything else I need to do before this can be merged?
LGTM!
This used to be a dependency of
quick-xml
, but it was removed in version 0.17 by tafia/quick-xml#170.rss
depended on it previously to work withquick-xml::Error
, but this is no longer necessary. Keeping it meansrss
is pulling in a lot of other unnecessary dependencies.This change also updates to stop using the deprecated parts of std's
Error
trait.