From dca3afcd77d3510a91eb9899df70af41e4712f3d Mon Sep 17 00:00:00 2001 From: Alessandro Campeis <12007735+campeis@users.noreply.github.com> Date: Sat, 13 Jan 2024 05:23:24 +0100 Subject: [PATCH] Update 'handlebars' to v5.1. --- contrib/dyn_templates/Cargo.toml | 2 +- examples/templating/src/hbs.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/dyn_templates/Cargo.toml b/contrib/dyn_templates/Cargo.toml index 11650b4e..b20b3a3e 100644 --- a/contrib/dyn_templates/Cargo.toml +++ b/contrib/dyn_templates/Cargo.toml @@ -33,7 +33,7 @@ optional = true [dependencies.handlebars_] package = "handlebars" -version = "4.1" +version = "5.1" optional = true [package.metadata.docs.rs] diff --git a/examples/templating/src/hbs.rs b/examples/templating/src/hbs.rs index 5dd3b9ea..c3edcdb2 100644 --- a/examples/templating/src/hbs.rs +++ b/examples/templating/src/hbs.rs @@ -35,7 +35,7 @@ pub fn not_found(req: &Request<'_>) -> Template { } fn wow_helper( - h: &handlebars::Helper<'_, '_>, + h: &handlebars::Helper<'_>, _: &handlebars::Handlebars, _: &handlebars::Context, _: &mut handlebars::RenderContext<'_, '_>,