mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-12-01 19:44:39 +03:00
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:
parent
ee0204c8b7
commit
793b002344
@ -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" }
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user