rvcr icon indicating copy to clipboard operation
rvcr copied to clipboard

Add support for reqwest-middleware 0.3.0

Open lededje opened this issue 2 years ago • 1 comments

Reqwest updated to 0.12 recently and their implementation of reqwest changed. This required reqwest middleware to update it's implementation which in turn made rvcr incompatible with it's most recent version.

Please can we update reqwest middleware to 0.3

lededje avatar Apr 21 '24 10:04 lededje

The updates I made are as follows:

reqwest = { version = "0.12.4" }
reqwest-middleware = "0.3.0"
http = "1.0.0"

~There is still a lifetime issue on the handle method for impl Middleware that I'm unable to resolve.~

This looked to be a change in the struct that now references a different argument type.

lededje avatar Apr 21 '24 10:04 lededje