mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-01-29 00:35:38 +08:00
* fix: receive shutdown signal failed on windows * docs: update Changelog.md * chore: update * fix: use tokio runtime to handle shutdown signal * docs: update Changelog.md * fix: move tauri dependency to the correct section in Cargo.toml * fix: remove unused exit handling code in run function * fix(clash-verge-signal): use global runtime to avoid tokio runtime panic on unix * chore: update tauri-plugin-mihomo deps * fix: handle macOS exit event to ensure proper application termination --------- Co-authored-by: Tunglies <77394545+Tunglies@users.noreply.github.com>
27 lines
552 B
TOML
27 lines
552 B
TOML
[package]
|
|
name = "clash-verge-signal"
|
|
version = "0.1.0"
|
|
edition.workspace = true
|
|
rust-version.workspace = true
|
|
|
|
[dependencies]
|
|
clash-verge-logging = { workspace = true }
|
|
log = { workspace = true }
|
|
tokio = { workspace = true }
|
|
|
|
[target.'cfg(unix)'.dependencies]
|
|
signal-hook = "0.3.18"
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
tauri = { workspace = true }
|
|
windows-sys = { version = "0.61.2", features = [
|
|
"Win32_Foundation",
|
|
"Win32_Graphics_Gdi",
|
|
"Win32_System_SystemServices",
|
|
"Win32_UI_WindowsAndMessaging",
|
|
] }
|
|
|
|
|
|
[lints]
|
|
workspace = true
|