Update uuid dependency

This commit is contained in:
link2xt
2022-06-01 20:36:27 +00:00
parent 93b0a3c854
commit 12dd092133
3 changed files with 14 additions and 5 deletions

15
Cargo.lock generated
View File

@@ -1122,7 +1122,7 @@ dependencies = [
"thiserror",
"toml",
"url",
"uuid",
"uuid 1.1.1",
"zip",
]
@@ -1886,7 +1886,7 @@ dependencies = [
"serde_derive",
"termcolor",
"toml",
"uuid",
"uuid 0.8.2",
]
[[package]]
@@ -2076,7 +2076,7 @@ dependencies = [
"mime",
"regex",
"time 0.1.44",
"uuid",
"uuid 0.8.2",
]
[[package]]
@@ -3998,6 +3998,15 @@ name = "uuid"
version = "0.8.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bc5cf98d8186244414c848017f0e2676b3fcb46807f6668a97dfe67359a3c4b7"
dependencies = [
"getrandom 0.2.6",
]
[[package]]
name = "uuid"
version = "1.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c6d5d669b51467dcf7b2f1a796ce0f955f05f01cafda6c19d6e95f730df29238"
dependencies = [
"getrandom 0.2.6",
"serde",

View File

@@ -70,7 +70,7 @@ surf = { version = "2.3", default-features = false, features = ["h1-client"] }
thiserror = "1"
toml = "0.5"
url = "2"
uuid = { version = "0.8", features = ["serde", "v4"] }
uuid = { version = "1", features = ["serde", "v4"] }
fast-socks5 = "0.4"
humansize = "1"
qrcodegen = "1.7.0"

View File

@@ -446,7 +446,7 @@ impl Config {
let id = {
let id = self.inner.next_id;
let uuid = Uuid::new_v4();
let target_dir = dir.join(uuid.to_simple_ref().to_string());
let target_dir = dir.join(uuid.to_string());
self.inner.accounts.push(AccountConfig {
id,