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

feat: Use http::Extensions directly #1710

Merged
merged 1 commit into from
Jun 12, 2024

Conversation

tottoto
Copy link
Collaborator

@tottoto tottoto commented May 26, 2024

Motivation

Makes tonic's implementations thinner.

As tonic's own Extensions type do not anything than the wrapper type of http::Extensions, there seems to be no advantage other than not being effected from changes by http::Extensions. This benefit might be small because the http crate's stability term is longer than tonic's one.

Solution

Uses http::Extensions directly.

@djc
Copy link
Contributor

djc commented May 27, 2024

This makes sense to me but I'd like to review/merge it after #1670 is merged.

@tottoto tottoto mentioned this pull request May 28, 2024
17 tasks
@tottoto tottoto force-pushed the use-http-extensions-directly branch 2 times, most recently from dca425e to 2770fe9 Compare June 11, 2024 13:13
@tottoto tottoto force-pushed the use-http-extensions-directly branch from 2770fe9 to 9bf800a Compare June 12, 2024 20:28
@djc djc added this pull request to the merge queue Jun 12, 2024
Merged via the queue into hyperium:master with commit ed95d27 Jun 12, 2024
16 checks passed
@tottoto tottoto deleted the use-http-extensions-directly branch June 12, 2024 20:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants