-
Notifications
You must be signed in to change notification settings - Fork 11
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
reqwest-middleware 0.2 breaks RVCR #5
Comments
Hmm, I haven't tested it with 0.2 yet. Will be able to test it next week, there were some API changes definitely. |
Different 0.x versions are not compatible for the rust semver dependency resolver, so if there's an implementation for 0.1 and you use 0.2 in your code rustc will complain even if the code didn't change, try using a branch of rvcr with 0.2 set, that will make the situation clearer. |
The error seems to be caused by |
So I got a bit further this time but it seems there is some API change in
reqwest-middleware
version0.2
that breaks RVCR. I got further with0.1.6
but on0.2
onwards I get the following type error when trying to follow the example:code:
output:
I'm not totally sure what's going on here. The
Middleware
trait still exists in the latest sourcecode forreqwest-middleware
and is specified in that function,M
must implementMiddleware
. I'm guessing that the definition ofMiddleware
has changed, and this compiler output is a bit misleading.The text was updated successfully, but these errors were encountered: