-
-
Notifications
You must be signed in to change notification settings - Fork 163
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
Upgrade to http 1.0 #237
Comments
sounds good! let's do this once |
How much of this have you got done already? Per #236 there's now consent to see if te (I came around this crate for the improved |
I stopped fairly early on when I realized that we'd need a release of |
Also worth linking this, which it took me a bit to find: https://hyper.rs/guides/1/upgrading/ |
Does this crate use |
for |
I've started merging breaking changes for the next major release (5.0) of this crate into |
Would it be possible to make a beta 5.0 branch depending on reqwest = { git = "https://github.com/seanmonstar/reqwest.git", branch = "hyper-v1" } So that the users of this crate work on their migration to be ready for the reqwest release ? |
It's been merged! seanmonstar/reqwest#2039 |
I saw! I should have a branch ready soon, but I won't be able to cut a release until |
BREAKING CHANGES: This changes several exported types, including `HttpRequest` (`http::Request`) and `HttpResponse` (`http::Response`), as well as the `reqwest` client (`reqwest::Client` and `reqwest::blocking::Client`). Resolves #237.
BREAKING CHANGES: This changes several exported types, including `HttpRequest` (`http::Request`) and `HttpResponse` (`http::Response`), as well as the `reqwest` client (`reqwest::Client` and `reqwest::blocking::Client`). Resolves #237.
Alright, I've upgraded to oauth2 = { git = "https://github.com/ramosbugs/oauth2-rs.git", rev = "03bc493a3d90643c6deb77e0da12e9a1a90d9be5" } |
@ramosbugs what would be the minimum required Rust compiler version for this? |
Testing done, and this is working. Please merge |
should still be 1.65
still waiting on a |
5.0.0-alpha.3 is now released with dependencies on |
I assume you mean 5.0.0-alpha.3? 😅 |
fixed, thanks! 🤦♂️ |
hyper has reached 1.0, and with it the
http
crate did as well. Sincehttp
is part of the public API foroauth2
(e.g., via thepub use http
re-export), it'd be nice ifoauth2
followed suit!I took a stab at doing it myself, and it doesn't look too painful, except for the fact that there's not yet a version of
reqwest
that uses http 1.0 (seanmonstar/reqwest#2039). Which means this is blocked for the time being, but I figured it'd still be useful to have a tracking issue.The text was updated successfully, but these errors were encountered: