-
Notifications
You must be signed in to change notification settings - Fork 26
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 rs-consul to latest http, hyper, opentelemetry #46
Conversation
@@ -160,7 +166,12 @@ pub struct Config { | |||
|
|||
/// The hyper builder for the internal http client. | |||
#[serde(skip)] | |||
pub hyper_builder: hyper::client::Builder, | |||
#[serde(default = "default_builder")] | |||
pub hyper_builder: hyper_util::client::legacy::Builder, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what is the right way to get rid of legacy?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is no replacement at the moment. The client has some issues which is why it has been moved out of hyper to hyper-util. A new client will be built at some point.
What problem are we solving?
hyper, http have all released 1.0
How are we solving the problem?
Let's upgrade them all.
This is a breaking change.
Closes #42
Checks
Please check these off before promoting the pull request to non-draft status.