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

Support hyper v1.x #184

Open
nyetwurk opened this issue Dec 19, 2023 · 0 comments
Open

Support hyper v1.x #184

nyetwurk opened this issue Dec 19, 2023 · 0 comments
Labels
dependencies Pull requests that update a dependency file good first issue Good for newcomers help wanted Extra attention is needed

Comments

@nyetwurk
Copy link
Contributor

Currently, we are pinning hyper to v0 due to

error[E0432]: unresolved imports `hyper::server::conn::AddrStream`, `hyper::service::make_service_fn`, `hyper::Body`, `hyper::Server`
 --> src/prom.rs:4:9
  |
4 |         server::conn::AddrStream,
  |         ^^^^^^^^^^^^^^^^^^^^^^^^ no `AddrStream` in `server::conn`
5 |         service::{make_service_fn, service_fn},
  |                   ^^^^^^^^^^^^^^^ no `make_service_fn` in `service`
6 |         Body, Request, Response, Server, StatusCode,
  |         ^^^^                     ^^^^^^ no `Server` in the root
  |         |
  |         no `Body` in the root
  |
  = help: consider importing this trait instead:
          hyper::body::Body
help: a similar name exists in the module
  |
5 |         service::{service_fn, service_fn},
  |                   ~~~~~~~~~~
help: a similar name exists in the module
  |
6 |         body, Request, Response, Server, StatusCode,
  |         ~~~~
help: a similar name exists in the module
  |
6 |         Body, Request, Response, server, StatusCode,
  |                                  ~~~~~~

https://github.com/Blockdaemon/solana-accountsdb-plugin-kafka/actions/runs/7256601659/job/19769122570?pr=183

See also #183

@nyetwurk nyetwurk added good first issue Good for newcomers help wanted Extra attention is needed dependencies Pull requests that update a dependency file labels Dec 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant