Selaa lähdekoodia

chore(deps) Update Rust crate uuid to v1 (#3926)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
renovate[bot] 3 vuotta sitten
vanhempi
sitoutus
71c7807fd8

+ 1 - 1
core/tauri-codegen/Cargo.toml

@@ -24,7 +24,7 @@ thiserror = "1"
 walkdir = "2"
 brotli = { version = "3", optional = true, default-features = false, features = [ "std" ] }
 regex = { version = "1.5.5", optional = true }
-uuid = { version = "1.0", features = [ "v4" ] }
+uuid = { version = "1", features = [ "v4" ] }
 
 [target."cfg(windows)".dependencies]
 ico = "0.1"

+ 1 - 1
core/tauri-runtime-wry/Cargo.toml

@@ -16,7 +16,7 @@ readme = "README.md"
 wry = { version = "0.15", default-features = false, features = [ "file-drop", "protocol" ] }
 tauri-runtime = { version = "0.3.4", path = "../tauri-runtime" }
 tauri-utils = { version = "1.0.0-rc.4", path = "../tauri-utils" }
-uuid = { version = "0.8.2", features = [ "v4" ] }
+uuid = { version = "1", features = [ "v4" ] }
 rand = "0.8"
 
 [target."cfg(windows)".dependencies]

+ 1 - 1
core/tauri-runtime-wry/src/lib.rs

@@ -2756,7 +2756,7 @@ fn create_webview<T: UserEvent>(
       webview_attributes.data_directory.clone()
     } else {
       // random unique key
-      Some(Uuid::new_v4().to_hyphenated().to_string().into())
+      Some(Uuid::new_v4().as_hyphenated().to_string().into())
     },
   ) {
     Occupied(occupied) => occupied.into_mut(),

+ 1 - 1
core/tauri-runtime/Cargo.toml

@@ -27,7 +27,7 @@ serde = { version = "1.0", features = [ "derive" ] }
 serde_json = "1.0"
 thiserror = "1.0"
 tauri-utils = { version = "1.0.0-rc.4", path = "../tauri-utils" }
-uuid = { version = "0.8.2", features = [ "v4" ] }
+uuid = { version = "1", features = [ "v4" ] }
 http = "0.2.4"
 http-range = "0.1.4"
 infer = "0.7"

+ 1 - 1
core/tauri/Cargo.toml

@@ -46,7 +46,7 @@ serde_json = { version = "1.0", features = [ "raw_value" ] }
 serde = { version = "1.0", features = [ "derive" ] }
 tokio = { version = "1.16", features = [ "rt", "rt-multi-thread", "sync", "fs", "io-util" ] }
 futures = "0.3"
-uuid = { version = "0.8", features = [ "v4" ] }
+uuid = { version = "1", features = [ "v4" ] }
 url = { version = "2.2" }
 anyhow = "1.0"
 thiserror = "1.0"