From ab3b36ebcf5f9f540c6289e94fc386840714cb55 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Sun, 30 Sep 2018 15:11:36 +0200 Subject: [PATCH] Update dependencies walkdir: 1 -> 2 uuid: 0.6 -> 0.7 --- bin/domain/imag-contact/Cargo.toml | 4 ++-- bin/domain/imag-contact/src/create.rs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/domain/imag-contact/Cargo.toml b/bin/domain/imag-contact/Cargo.toml index 3c95afb6..64db919a 100644 --- a/bin/domain/imag-contact/Cargo.toml +++ b/bin/domain/imag-contact/Cargo.toml @@ -27,8 +27,8 @@ toml = "0.4" toml-query = "0.7" vobject = { git = "https://github.com/matthiasbeyer/rust-vobject", branch = "update-errorchain" } handlebars = "1.0" -walkdir = "1" -uuid = { version = "0.6", features = ["v4"] } +walkdir = "2" +uuid = { version = "0.7", features = ["v4"] } serde_json = "1" libimagrt = { version = "0.9.0", path = "../../../lib/core/libimagrt" } diff --git a/bin/domain/imag-contact/src/create.rs b/bin/domain/imag-contact/src/create.rs index 18de82c9..02e2ec11 100644 --- a/bin/domain/imag-contact/src/create.rs +++ b/bin/domain/imag-contact/src/create.rs @@ -93,7 +93,7 @@ pub fn create(rt: &Runtime) { error!("File does exist, cannot create/override"); exit(1); } else if fl.is_dir() { - let uuid = Uuid::new_v4().hyphenated().to_string(); + let uuid = Uuid::new_v4().to_hyphenated().to_string(); fl.push(uuid.clone()); fl.set_extension("vcf"); info!("Creating file: {:?}", fl); @@ -144,7 +144,7 @@ pub fn create(rt: &Runtime) { (Box::new(file), Some(fl), uuid_string) } else { // We generate a random uuid for stdout - let uuid = Uuid::new_v4().hyphenated().to_string(); + let uuid = Uuid::new_v4().to_hyphenated().to_string(); (Box::new(rt.stdout()), None, uuid) } };