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<'_, '_>,