Skip to content

Update hyper to v1.6.0#1022

Merged
sigurpol merged 2 commits intomainfrom
update_hyper
Apr 15, 2025
Merged

Update hyper to v1.6.0#1022
sigurpol merged 2 commits intomainfrom
update_hyper

Conversation

@sigurpol
Copy link
Copy Markdown
Contributor

This commit updates the hyper dependency to version 1.6.0.

Changes:

  • Updated hyper dependency in Cargo.toml

  • Updated Cargo.lock with new hyper version

  • Modified prometheus.rs to use the new hyper API

The changes closely match the implementation in the SDK substrate util prometheus library.

Fixes #1011

This commit updates the hyper dependency to version 1.6.0.

Changes:

- Updated hyper dependency in Cargo.toml

- Updated Cargo.lock with new hyper version

- Modified prometheus.rs to use the new hyper API

The changes matches closely the implementation in the SDK substrate
util prometheus lib.

Fixes #1011
@sigurpol sigurpol requested a review from niklasad1 April 15, 2025 14:37
Ok(response)
}

pub struct GracefulShutdown(Option<oneshot::Sender<()>>);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It makes sense to remove this because we never stop the server ourselves just needless complexity.

I think did this change in polkadot-sdk as well :P

@sigurpol sigurpol merged commit 44490eb into main Apr 15, 2025
10 checks passed
@sigurpol sigurpol deleted the update_hyper branch April 15, 2025 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

prometheus: update hyper to v1.6

2 participants