chore(deps) Update Rust crate handlebars to v3 (#360)

* chore(deps) Update Rust crate handlebars to v3

* fix handlebars 'static lifetime.

* fix static lifetime for mac and linux.

Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
Co-authored-by: Tensor-Programming <abeltensor@tensor-programming.com>
This commit is contained in:
renovate[bot] 2020-01-30 05:47:00 -06:00 committed by GitHub
parent ee0204c8b7
commit 793b002344
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View File

@ -40,7 +40,7 @@ attohttpc = { version = "0.11.1" }
regex = { version = "1" }
[target.'cfg(not(target_os = "linux"))'.dependencies]
handlebars = { version = "2.0" }
handlebars = { version = "3.0" }
lazy_static = { version = "1.4" }
zip = { version = "0.5" }
sha2 = { version = "0.8" }

View File

@ -14,7 +14,7 @@ use std::process::{Command, Stdio};
// Create handlebars template for shell script
lazy_static! {
static ref HANDLEBARS: Handlebars = {
static ref HANDLEBARS: Handlebars<'static> = {
let mut handlebars = Handlebars::new();
handlebars

View File

@ -13,7 +13,7 @@ use std::process::{Command, Stdio};
// Create handlebars template for shell scripts
lazy_static! {
static ref HANDLEBARS: Handlebars = {
static ref HANDLEBARS: Handlebars<'static> = {
let mut handlebars = Handlebars::new();
handlebars

View File

@ -42,7 +42,7 @@ const UUID_NAMESPACE: [u8; 16] = [
// setup for the main.wxs template file using handlebars. Dynamically changes the template on compilation based on the application metadata.
lazy_static! {
static ref HANDLEBARS: Handlebars = {
static ref HANDLEBARS: Handlebars<'static> = {
let mut handlebars = Handlebars::new();
handlebars