From 8fed98361741cfbc7bca4b94bd9a1b06a73e3bfa Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Tue, 17 Nov 2020 10:03:42 +0100 Subject: Bump versions to fix semver problem --- askama_shared/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'askama_shared') diff --git a/askama_shared/Cargo.toml b/askama_shared/Cargo.toml index 2da9df6..ef3eb75 100644 --- a/askama_shared/Cargo.toml +++ b/askama_shared/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "askama_shared" -version = "0.10.5" +version = "0.11.0" authors = ["Dirkjan Ochtman "] description = "Shared code for Askama" homepage = "https://github.com/djc/askama" -- cgit From f4eb31ccc7882eb08e2e0ef03f0fc73edf9448ff Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Thu, 19 Nov 2020 20:56:25 +0100 Subject: Adapt to changed mendes API --- askama_shared/src/generator.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'askama_shared') diff --git a/askama_shared/src/generator.rs b/askama_shared/src/generator.rs index a37ca7c..3b73170 100644 --- a/askama_shared/src/generator.rs +++ b/askama_shared/src/generator.rs @@ -308,12 +308,12 @@ impl<'a, S: std::hash::BuildHasher> Generator<'a, S> { )?; buf.writeln( - "fn into_response(self, app: &A) \ + "fn into_response(self, app: &A, req: &::mendes::http::request::Parts) \ -> ::mendes::http::Response {", )?; buf.writeln(&format!( - "::mendes::askama::into_response(app, &self, {:?})", + "::mendes::askama::into_response(app, req, &self, {:?})", self.input.path.extension() ))?; buf.writeln("}")?; -- cgit From 11441aa4a1927c186a0eb7e6d519b709f7e40605 Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Thu, 19 Nov 2020 20:57:25 +0100 Subject: Bump version for askama_shared --- askama_shared/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'askama_shared') diff --git a/askama_shared/Cargo.toml b/askama_shared/Cargo.toml index ef3eb75..f5ac4b6 100644 --- a/askama_shared/Cargo.toml +++ b/askama_shared/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "askama_shared" -version = "0.11.0" +version = "0.11.1" authors = ["Dirkjan Ochtman "] description = "Shared code for Askama" homepage = "https://github.com/djc/askama" -- cgit