solana-accountsdb-plugin-kafka
solana-accountsdb-plugin-kafka copied to clipboard
Support hyper v1.x
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#