-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Avoid anyhow dependency #119
Comments
This claim needs a source. |
That error variant must be opaque. The only alternative, here, is to define a custom opaque error in |
https://blessed.rs/crates (scroll down to “Error Handling”)
Yeah, that’s all. This issue is just to be pedantic |
That's someone opinion—they're entitled to it, but blessed.rs has no official sanctioning whatsoever. |
The current middleware design cannot support a non type-erased error system. Some crates will use A tower-like service architecture is necessary to support nested error types, but reqwest-middleware has explicitly made the choice to not use that design. Perhaps we could reconsider in future. |
Hello,
I am wondering whether it'd be possible for a future version of
reqwest_middleware
to leave out the dependency onanyhow::Error
.reqwest-middleware/reqwest-middleware/src/error.rs
Line 10 in 8d40b60
The text was updated successfully, but these errors were encountered: