solana-accountsdb-plugin-kafka icon indicating copy to clipboard operation
solana-accountsdb-plugin-kafka copied to clipboard

Support hyper v1.x

Open nyetwurk opened this issue 1 year ago • 0 comments

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 https://github.com/Blockdaemon/solana-accountsdb-plugin-kafka/pull/183#

nyetwurk avatar Dec 19 '23 18:12 nyetwurk