Explorar el Código

fix: update dev dependencies

Lucas Nogueira hace 3 años
padre
commit
487441c991
Se han modificado 2 ficheros con 6 adiciones y 3 borrados
  1. 5 2
      core/tauri/Cargo.toml
  2. 1 1
      core/tauri/src/test/mock_runtime.rs

+ 5 - 2
core/tauri/Cargo.toml

@@ -100,8 +100,11 @@ tauri = {path = "."}
 tokio-test = "0.4.2"
 tokio = { version = "1.15", features = [ "full" ] }
 
-[target."cfg(windows)".dev-dependencies]
-webview2-com = "0.7.0"
+[target."cfg(windows)".dev-dependencies.windows]
+version = "0.29.0"
+features = [
+  "Win32_Foundation",
+]
 
 [features]
 default = [ "wry", "compression" ]

+ 1 - 1
core/tauri/src/test/mock_runtime.rs

@@ -21,7 +21,7 @@ use tauri_utils::config::WindowConfig;
 use uuid::Uuid;
 
 #[cfg(windows)]
-use webview2_com::Windows::Win32::Foundation::HWND;
+use windows::Win32::Foundation::HWND;
 
 use std::{
   collections::HashMap,