From e6e17ad1c8a6b53463946c407a354c250bd7e701 Mon Sep 17 00:00:00 2001 From: Tony <68118705+Legend-Master@users.noreply.github.com> Date: Tue, 4 Jun 2024 10:19:54 +0800 Subject: [PATCH] fix(core): add std feature to raw-window-handle (#9954) --- .changes/raw-window-handle-std.md | 5 +++++ core/tauri/Cargo.toml | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changes/raw-window-handle-std.md diff --git a/.changes/raw-window-handle-std.md b/.changes/raw-window-handle-std.md new file mode 100644 index 000000000..356832906 --- /dev/null +++ b/.changes/raw-window-handle-std.md @@ -0,0 +1,5 @@ +--- +"tauri": patch:bug +--- + +Add `std` feature to `raw-window-handle` crate so that using `default-features = false` on `tauri` crate can work diff --git a/core/tauri/Cargo.toml b/core/tauri/Cargo.toml index 7d09d11bb..acceccb53 100644 --- a/core/tauri/Cargo.toml +++ b/core/tauri/Cargo.toml @@ -63,7 +63,7 @@ dirs-next = "2.0" percent-encoding = "2.3" reqwest = { version = "0.12", default-features = false, features = [ "json", "stream" ] } bytes = { version = "1", features = [ "serde" ] } -raw-window-handle = "0.6" +raw-window-handle = { version = "0.6", features = [ "std" ]} glob = "0.3" urlpattern = "0.2" mime = "0.3"