Skip to content

fix: update hyper#17

Open
dlaehnemann wants to merge 9 commits intomasterfrom
address-github-dependabot-warnings-about-hyper
Open

fix: update hyper#17
dlaehnemann wants to merge 9 commits intomasterfrom
address-github-dependabot-warnings-about-hyper

Conversation

@dlaehnemann
Copy link
Copy Markdown
Contributor

address security warning by GitHub Dependabot

address security warning by GitHub Dependabot
this properly includes `hyper` and restricts usage to `Client`
Apparently, public docs of `hyper` are not necessarily up to date, see for example these mentions of using `hyper::Client`:
* https://hyper.rs/guides/client/basic/
* https://docs.rs/hyper/0.14.19/hyper/client/index.html#example

Instead, probably after a refactoring not reflected in the docs, one should follow the pattern `use hyper::client::Client` given here:
https://docs.rs/hyper/latest/hyper/#reexports
will require further activation of feature `http1` or `http2` to work
needed for `Client::new()`
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.

1 participant