Update dependencies
walkdir: 1 -> 2 uuid: 0.6 -> 0.7
This commit is contained in:
parent
695d9f2df8
commit
ab3b36ebcf
2 changed files with 4 additions and 4 deletions
|
@ -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" }
|
||||
|
|
|
@ -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)
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue