openapi / actix-swagger

Swagger code generator for actix-web framework
https://crates.io/crates/cargo-swagg
MIT License
111 stars 8 forks source link

Cannot use project with Actix-web 4.2.1 #29

Closed qarmin closed 1 year ago

qarmin commented 1 year ago
error[E0432]: unresolved imports `actix_web::http::header::IntoHeaderValue`, `actix_web::http::HeaderName`, `actix_web::http::HeaderValue`
  --> /home/rafal/.cargo/registry/src/github.com-1ecc6299db9ec823/actix-swagger-0.3.0/src/lib.rs:10:26
   |
10 |     http::header::{self, IntoHeaderValue},
   |                          ^^^^^^^^^^^^^^^
   |                          |
   |                          no `IntoHeaderValue` in `http::header`
   |                          help: a similar name exists in the module: `TryIntoHeaderValue`
11 |     http::{HeaderName, HeaderValue},
   |            ^^^^^^^^^^  ^^^^^^^^^^^ no `HeaderValue` in `http`
   |            |
   |            no `HeaderName` in `http`
jayvdb commented 1 year ago

This has been solved.