summaryrefslogtreecommitdiffstats
path: root/bin/domain/imag-contact
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2020-05-31 13:31:52 +0200
committerMatthias Beyer <mail@beyermatthias.de>2020-05-31 18:03:26 +0200
commit33a2c03ea8361ae61c162e307e10bc7266c1b249 (patch)
tree30bdf5c653789d800e1013616b7fab56f78a080a /bin/domain/imag-contact
parentcd5dbbe1656de505eb93df389429bbe21c36b912 (diff)
handlebars: 2 -> 3
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Diffstat (limited to 'bin/domain/imag-contact')
-rw-r--r--bin/domain/imag-contact/Cargo.toml2
-rw-r--r--bin/domain/imag-contact/src/lib.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/bin/domain/imag-contact/Cargo.toml b/bin/domain/imag-contact/Cargo.toml
index 12f6392e..1bfa66a0 100644
--- a/bin/domain/imag-contact/Cargo.toml
+++ b/bin/domain/imag-contact/Cargo.toml
@@ -23,7 +23,7 @@ maintenance = { status = "actively-developed" }
log = "0.4.6"
toml = "0.5.1"
vobject = "0.7.0"
-handlebars = "2"
+handlebars = "3"
walkdir = "2.2.8"
uuid = { version = "0.7.4", features = ["v4"] }
serde_json = "1.0.39"
diff --git a/bin/domain/imag-contact/src/lib.rs b/bin/domain/imag-contact/src/lib.rs
index 13f17e0f..f7a4af90 100644
--- a/bin/domain/imag-contact/src/lib.rs
+++ b/bin/domain/imag-contact/src/lib.rs
@@ -380,7 +380,7 @@ fn find(rt: &Runtime) -> Result<()> {
}
}
-fn get_contact_print_format(config_value_path: &'static str, rt: &Runtime, scmd: &ArgMatches) -> Result<Handlebars> {
+fn get_contact_print_format<'rc>(config_value_path: &'static str, rt: &Runtime, scmd: &ArgMatches) -> Result<Handlebars<'rc>> {
let fmt = match scmd.value_of("format").map(String::from) {
Some(s) => Ok(s),
None => rt.config()