diff options
Diffstat (limited to '')
-rw-r--r-- | askama_shared/Cargo.toml | 2 | ||||
-rw-r--r-- | askama_shared/src/generator.rs | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/askama_shared/Cargo.toml b/askama_shared/Cargo.toml index 1a69867..8e2be28 100644 --- a/askama_shared/Cargo.toml +++ b/askama_shared/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "askama_shared" -version = "0.12.1" +version = "0.12.2" description = "Shared code for Askama" homepage = "https://github.com/djc/askama" repository = "https://github.com/djc/askama" diff --git a/askama_shared/src/generator.rs b/askama_shared/src/generator.rs index ea22a83..9997139 100644 --- a/askama_shared/src/generator.rs +++ b/askama_shared/src/generator.rs @@ -203,12 +203,12 @@ impl<'a, S: std::hash::BuildHasher> Generator<'a, S> { // Implement Actix-web's `Responder`. fn impl_actix_web_responder(&mut self, buf: &mut Buffer) -> Result<(), CompileError> { - self.write_header(buf, "::actix_web::Responder", None)?; - buf.writeln("type Body = ::actix_web::body::BoxBody;")?; + self.write_header(buf, "::askama_actix::actix_web::Responder", None)?; + buf.writeln("type Body = ::askama_actix::actix_web::body::BoxBody;")?; buf.writeln("#[inline]")?; buf.writeln( - "fn respond_to(self, _req: &::actix_web::HttpRequest) \ - -> ::actix_web::web::HttpResponse<Self::Body> {", + "fn respond_to(self, _req: &::askama_actix::actix_web::HttpRequest) \ + -> ::askama_actix::actix_web::HttpResponse<Self::Body> {", )?; buf.writeln("<Self as ::askama_actix::TemplateToResponse>::to_response(&self)")?; buf.writeln("}")?; |