-
Notifications
You must be signed in to change notification settings - Fork 84
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
chore(examples/hyper): Port to hyper 1.x #195
Conversation
779481b
to
b4e6e69
Compare
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.
Thank you both for the work!
Cargo.toml
Outdated
@@ -35,7 +35,9 @@ rand = "0.8.4" | |||
tide = "0.16" | |||
actix-web = "4" | |||
tokio = { version = "1", features = ["rt-multi-thread", "net", "macros", "signal"] } | |||
hyper = { version = "0.14.16", features = ["server", "http1", "tcp"] } | |||
hyper = { version = "1.3.1", features = ["server", "http1"] } | |||
hyper-util = { version = "0.1.3", features = ["full"] } |
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.
Are all features required? E.g. the client
feature?
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.
Nice catch! Feature tokio
is sufficient. Fixed in 043fdd3.
e25e02e
to
043fdd3
Compare
Thanks for the follow-up! Can you fix the CI rustfmt failure @levaitamas? Otherwise this is good to merge. |
Based on prometheus#184 Co-authored-by: Jun Kurihara <[email protected]> Signed-off-by: Tamas Levai <[email protected]>
Signed-off-by: Tamas Levai <[email protected]>
Signed-off-by: Tamas Levai <[email protected]>
aad435f
to
c524c73
Compare
Thanks! Fixed in c524c73. |
This PR ports the hyper example to hyper 1.x.
All kudos goes to @junkurihara (#184).
Closes the erroneous #187.