Merge pull request #7217 from tauri-apps/fix/unused-deps

This commit is contained in:
Lucas Fernandes Nogueira 2023-06-15 08:59:14 -07:00 committed by GitHub
commit 6b81d70a1a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -2935,7 +2935,7 @@ fn on_close_requested<'a, T: UserEvent>(
}
fn on_window_close(window_id: WebviewId, windows: Arc<RefCell<HashMap<WebviewId, WindowWrapper>>>) {
if let Some(mut window_wrapper) = windows.borrow_mut().get_mut(&window_id) {
if let Some(window_wrapper) = windows.borrow_mut().get_mut(&window_id) {
window_wrapper.inner = None;
}
}

View File

@ -37,6 +37,7 @@ targets = [
[package.metadata.cargo-udeps.ignore]
normal = [ "reqwest" ]
build = [ "tauri-build" ]
[dependencies]
serde_json = { version = "1.0", features = [ "raw_value" ] }
@ -63,7 +64,6 @@ percent-encoding = "2.2"
reqwest = { version = "0.11", default-features = false, features = [ "json", "stream" ] }
bytes = { version = "1", features = [ "serde" ] }
raw-window-handle = "0.5"
time = { version = "0.3", optional = true }
glob = "0.3"
data-url = { version = "0.2", optional = true }
serialize-to-javascript = "=0.1.1"