fix: add reqwest dependency, fix unused State import

This commit is contained in:
Agent Zero
2026-03-07 02:56:05 +01:00
parent a1853bb68a
commit 423eb72fd6
3 changed files with 5264 additions and 1 deletions

5261
src-tauri/Cargo.lock generated Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -17,6 +17,8 @@ serde = { version = "1", features = ["derive"] }
serde_json = "1" serde_json = "1"
tokio = { version = "1", features = ["full"] } tokio = { version = "1", features = ["full"] }
reqwest = { version = "0.12", features = ["json"] }
[profile.release] [profile.release]
panic = "abort" panic = "abort"
codegen-units = 1 codegen-units = 1

View File

@@ -2,7 +2,7 @@
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")] #![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
use std::sync::Mutex; use std::sync::Mutex;
use tauri::{Manager, State}; use tauri::Manager;
use tauri_plugin_shell::ShellExt; use tauri_plugin_shell::ShellExt;
struct ServerProcess(Mutex<Option<tauri_plugin_shell::process::CommandChild>>); struct ServerProcess(Mutex<Option<tauri_plugin_shell::process::CommandChild>>);