Skip to content
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

Merged
merged 20 commits into from
Jul 24, 2024
Merged

Conversation

kushudai
Copy link
Contributor

@kushudai kushudai commented Jun 25, 2024

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.

  • All CI checks are green.
  • I have reviewed the proposed changes myself.

@@ -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,

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?

Copy link
Contributor Author

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.

@kushudai kushudai marked this pull request as ready for review July 20, 2024 20:03
@kushudai kushudai merged commit 0d4c29c into main Jul 24, 2024
5 checks passed
@kushudai kushudai deleted the hyper-1 branch July 24, 2024 06:14
@github-actions github-actions bot locked and limited conversation to collaborators Jul 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Panic when no CA found
2 participants