summaryrefslogtreecommitdiffstats
path: root/bin/domain/imag-calendar
diff options
context:
space:
mode:
Diffstat (limited to 'bin/domain/imag-calendar')
-rw-r--r--bin/domain/imag-calendar/Cargo.toml2
-rw-r--r--bin/domain/imag-calendar/src/util.rs4
2 files changed, 3 insertions, 3 deletions
diff --git a/bin/domain/imag-calendar/Cargo.toml b/bin/domain/imag-calendar/Cargo.toml
index 12146bea..12a5359d 100644
--- a/bin/domain/imag-calendar/Cargo.toml
+++ b/bin/domain/imag-calendar/Cargo.toml
@@ -26,7 +26,7 @@ anyhow = "1"
failure = "0.1"
walkdir = "2.2.8"
vobject = "0.7"
-handlebars = "2"
+handlebars = "3"
chrono = "0.4"
kairos = "0.3"
resiter = "0.4.0"
diff --git a/bin/domain/imag-calendar/src/util.rs b/bin/domain/imag-calendar/src/util.rs
index 1467d310..636e3ec3 100644
--- a/bin/domain/imag-calendar/src/util.rs
+++ b/bin/domain/imag-calendar/src/util.rs
@@ -71,8 +71,8 @@ impl<'a> ParsedEventFLE<'a> {
}
}
-pub fn get_event_print_format(config_value_path: &'static str, rt: &Runtime, scmd: &ArgMatches)
- -> Result<Handlebars>
+pub fn get_event_print_format<'rc>(config_value_path: &'static str, rt: &Runtime, scmd: &ArgMatches)
+ -> Result<Handlebars<'rc>>
{
scmd.value_of("format")
.map(String::from)