feat: daemon support, general improvement, and preparation for Windows release

This commit is contained in:
zhom
2026-02-01 20:55:09 +04:00
parent e9f4edd120
commit 4a59459eb2
58 changed files with 9763 additions and 296 deletions
+10
View File
@@ -30,6 +30,7 @@ path = "src/bin/donut_daemon.rs"
[build-dependencies]
tauri-build = { version = "2", features = [] }
resvg = "0.44"
[dependencies]
serde_json = "1"
@@ -48,6 +49,7 @@ env_logger = "0.11"
directories = "6"
reqwest = { version = "0.13", features = ["json", "stream", "socks"] }
tokio = { version = "1", features = ["full", "sync"] }
tokio-util = "0.7"
sysinfo = "0.37"
lazy_static = "1.4"
base64 = "0.22"
@@ -96,6 +98,9 @@ tempfile = "3"
maxminddb = "0.27"
quick-xml = { version = "0.38", features = ["serialize"] }
# VPN support
boringtun = "0.6"
# Daemon dependencies (tray icon)
tray-icon = "0.21"
muda = "0.17"
@@ -104,6 +109,7 @@ single-instance = "0.3"
image = "0.25"
dirs = "6"
crossbeam-channel = "0.5"
sys-locale = "0.3"
[target."cfg(any(target_os = \"macos\", windows, target_os = \"linux\"))".dependencies]
tauri-plugin-single-instance = { version = "2", features = ["deep-link"] }
@@ -151,6 +157,10 @@ path = "tests/donut_proxy_integration.rs"
name = "sync_e2e"
path = "tests/sync_e2e.rs"
[[test]]
name = "vpn_integration"
path = "tests/vpn_integration.rs"
[profile.dev]
codegen-units = 256
incremental = true