Update hyper requirement from 0.14 to 1.0 #23
Annotations
4 errors and 1 warning
unresolved imports `hyper::Body`, `hyper::Server`:
examples/examples/hyper.rs#L2
error[E0432]: unresolved imports `hyper::Body`, `hyper::Server`
--> examples/examples/hyper.rs:2:13
|
2 | use hyper::{Body, Request, Response, Server};
| ^^^^ ^^^^^^ 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
|
2 | use hyper::{body, Request, Response, Server};
| ~~~~
help: a similar name exists in the module
|
2 | use hyper::{Body, Request, Response, server};
| ~~~~~~
|
unresolved import `hyper::service::make_service_fn`:
examples/examples/hyper.rs#L1
error[E0432]: unresolved import `hyper::service::make_service_fn`
--> examples/examples/hyper.rs:1:22
|
1 | use hyper::service::{make_service_fn, service_fn};
| ^^^^^^^^^^^^^^^
| |
| no `make_service_fn` in `service`
| help: a similar name exists in the module: `service_fn`
|
warnings
Clippy had exited with the 101 exit code
|
test
Process completed with exit code 101.
|
warnings
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|