From d901baa16f1a2b31fa87a2dd82c2c21350902fce Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Tue, 17 Nov 2020 09:55:18 +0100 Subject: Bump version numbers for askama and askama_derive --- askama/Cargo.toml | 6 +++--- askama_derive/Cargo.toml | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/askama/Cargo.toml b/askama/Cargo.toml index 0b3a897..1a1932d 100644 --- a/askama/Cargo.toml +++ b/askama/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "askama" -version = "0.10.3" +version = "0.10.4" authors = ["Dirkjan Ochtman "] description = "Type-safe, compiled Jinja-like templates for Rust" documentation = "https://docs.rs/askama" @@ -33,9 +33,9 @@ with-tide = ["askama_derive/tide"] with-warp = ["askama_derive/warp"] [dependencies] -askama_derive = { version = "0.10.3", path = "../askama_derive" } +askama_derive = { version = "0.10.4", path = "../askama_derive" } askama_escape = { version = "0.10", path = "../askama_escape" } -askama_shared = { version = "0.10.4", path = "../askama_shared", default-features = false } +askama_shared = { version = "0.10.5", path = "../askama_shared", default-features = false } mime = { version = "0.3", optional = true } mime_guess = { version = "2.0.0-alpha", optional = true } diff --git a/askama_derive/Cargo.toml b/askama_derive/Cargo.toml index 63d08bd..3c3009c 100644 --- a/askama_derive/Cargo.toml +++ b/askama_derive/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "askama_derive" -version = "0.10.3" +version = "0.10.4" authors = ["Dirkjan Ochtman "] description = "Procedural macro package for Askama" homepage = "https://github.com/djc/askama" @@ -23,6 +23,6 @@ tide = [] warp = [] [dependencies] -askama_shared = { version = "0.10.4", path = "../askama_shared", default-features = false } +askama_shared = { version = "0.10.5", path = "../askama_shared", default-features = false } proc-macro2 = "1" syn = "1" -- cgit 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/Cargo.toml | 6 +++--- askama_derive/Cargo.toml | 4 ++-- askama_shared/Cargo.toml | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/askama/Cargo.toml b/askama/Cargo.toml index 1a1932d..da53a98 100644 --- a/askama/Cargo.toml +++ b/askama/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "askama" -version = "0.10.4" +version = "0.10.5" authors = ["Dirkjan Ochtman "] description = "Type-safe, compiled Jinja-like templates for Rust" documentation = "https://docs.rs/askama" @@ -33,9 +33,9 @@ with-tide = ["askama_derive/tide"] with-warp = ["askama_derive/warp"] [dependencies] -askama_derive = { version = "0.10.4", path = "../askama_derive" } +askama_derive = { version = "0.10.5", path = "../askama_derive" } askama_escape = { version = "0.10", path = "../askama_escape" } -askama_shared = { version = "0.10.5", path = "../askama_shared", default-features = false } +askama_shared = { version = "0.11", path = "../askama_shared", default-features = false } mime = { version = "0.3", optional = true } mime_guess = { version = "2.0.0-alpha", optional = true } diff --git a/askama_derive/Cargo.toml b/askama_derive/Cargo.toml index 3c3009c..f3df891 100644 --- a/askama_derive/Cargo.toml +++ b/askama_derive/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "askama_derive" -version = "0.10.4" +version = "0.10.5" authors = ["Dirkjan Ochtman "] description = "Procedural macro package for Askama" homepage = "https://github.com/djc/askama" @@ -23,6 +23,6 @@ tide = [] warp = [] [dependencies] -askama_shared = { version = "0.10.5", path = "../askama_shared", default-features = false } +askama_shared = { version = "0.11", path = "../askama_shared", default-features = false } proc-macro2 = "1" syn = "1" 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(-) 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(-) 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