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

Add support for actix-web 4 #348

Closed
SorenHolstHansen opened this issue Jul 15, 2022 · 2 comments
Closed

Add support for actix-web 4 #348

SorenHolstHansen opened this issue Jul 15, 2022 · 2 comments

Comments

@SorenHolstHansen
Copy link

As the title says. It currently breaks on an actix web route with

the trait bound `<index as actix_web::service::HttpServiceFactory>::register::index::{closure#0}::maud::PreEscaped<std::string::String>: actix_web::Responder` is not satisfied
the following other types implement trait `actix_web::Responder`:
  &'static [u8]
  &'static str
  &std::string::String
  (R, actix_web::http::StatusCode)
  actix_http::responses::builder::ResponseBuilder
  actix_web::CustomizeResponder<T>
  actix_web::Either<L, R>
  actix_web::HttpResponse<B>
and 13 others
required because of the requirements on the impl of `actix_web::Responder` for `std::result::Result<<index as actix_web::service::HttpServiceFactory>::register::index::{closure#0}::maud::PreEscaped<std::string::String>, actix_web::Error>
@SanchithHegde
Copy link

Related: #330, #340.

TL;DR: Use maud as a git dependency.

@SorenHolstHansen
Copy link
Author

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants