From cfae1deb1d4693d8642d9f9063f2b071288b0c47 Mon Sep 17 00:00:00 2001 From: "claude[bot]" <41898282+claude[bot]@users.noreply.github.com> Date: Fri, 2 Jan 2026 17:32:22 +0000 Subject: [PATCH 1/2] chore: bump maple-proxy to 0.1.5 and fix clippy warnings - Updated maple-proxy dependency from 0.1.4 to 0.1.5 - Fixed unused import (Manager) in src/lib.rs - Removed redundant import (tauri_plugin_opener) in src/lib.rs - Fixed unnecessary to_string() call in deep link handler Co-authored-by: Anthony --- frontend/src-tauri/Cargo.lock | 8 ++++---- frontend/src-tauri/Cargo.toml | 2 +- frontend/src-tauri/src/lib.rs | 5 ++--- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/frontend/src-tauri/Cargo.lock b/frontend/src-tauri/Cargo.lock index efd5c2b6..f9b52bdd 100644 --- a/frontend/src-tauri/Cargo.lock +++ b/frontend/src-tauri/Cargo.lock @@ -2671,9 +2671,9 @@ dependencies = [ [[package]] name = "maple-proxy" -version = "0.1.4" +version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aec3c41ec9138b2015a1bcb853ed46cdea87a7f29719d193b38ded287cfbadc9" +checksum = "13b9806d0af3916b0fe217fefb165dd80b4c9cdabf0d8885927b42abdcd99fa4" dependencies = [ "anyhow", "async-stream", @@ -3296,9 +3296,9 @@ dependencies = [ [[package]] name = "opensecret" -version = "0.2.3" +version = "0.2.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "96e2b23865f980073312a3c7662f9b9099eaeafec762d2ef958e098493770203" +checksum = "68faccec2c0b03eefcc94985c01730d1f50b5ff98684c1afec367ba8301b144c" dependencies = [ "anyhow", "async-trait", diff --git a/frontend/src-tauri/Cargo.toml b/frontend/src-tauri/Cargo.toml index 7cf2d493..6379a147 100644 --- a/frontend/src-tauri/Cargo.toml +++ b/frontend/src-tauri/Cargo.toml @@ -32,7 +32,7 @@ tauri-plugin-os = "2.3.2" tauri-plugin-sign-in-with-apple = "1.0.2" tokio = { version = "1.0", features = ["net", "sync", "rt-multi-thread", "macros", "time"] } once_cell = "1.18.0" -maple-proxy = "0.1.4" +maple-proxy = "0.1.5" tauri-plugin-fs = "2.4.4" anyhow = "1.0" axum = "0.8" diff --git a/frontend/src-tauri/src/lib.rs b/frontend/src-tauri/src/lib.rs index 5b9c3cfa..136e3b63 100644 --- a/frontend/src-tauri/src/lib.rs +++ b/frontend/src-tauri/src/lib.rs @@ -1,6 +1,5 @@ -use tauri::{Emitter, Manager}; +use tauri::Emitter; use tauri_plugin_deep_link::DeepLinkExt; -use tauri_plugin_opener; mod pdf_extractor; mod proxy; @@ -67,7 +66,7 @@ pub fn run() { app.deep_link().on_open_url(move |event| { if let Some(url) = event.urls().first() { // Use the cloned app_handle - handle_deep_link_event(&url.to_string(), &app_handle); + handle_deep_link_event(url.as_ref(), &app_handle); } }); // Optionally register the scheme at runtime From 2fa0b42dc9640a3b1a6b0fe71fdbed24352f0e15 Mon Sep 17 00:00:00 2001 From: "claude[bot]" <41898282+claude[bot]@users.noreply.github.com> Date: Fri, 2 Jan 2026 17:50:25 +0000 Subject: [PATCH 2/2] fix: apply url.as_ref() to mobile code path for consistency Co-authored-by: Anthony --- frontend/src-tauri/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src-tauri/src/lib.rs b/frontend/src-tauri/src/lib.rs index 136e3b63..966d4501 100644 --- a/frontend/src-tauri/src/lib.rs +++ b/frontend/src-tauri/src/lib.rs @@ -262,7 +262,7 @@ pub fn run() { // but the handler for incoming URLs still works app.deep_link().on_open_url(move |event| { if let Some(url) = event.urls().first() { - handle_deep_link_event(&url.to_string(), &app_handle); + handle_deep_link_event(url.as_ref(), &app_handle); } });