Cargo.toml 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. [package]
  2. name = "clash-verge"
  3. version = "1.4.3"
  4. description = "clash verge"
  5. authors = ["zzzgydi"]
  6. license = "GPL-3.0"
  7. repository = "https://github.com/clash-verge-rev/clash-verge-rev.git"
  8. default-run = "clash-verge"
  9. edition = "2021"
  10. build = "build.rs"
  11. [build-dependencies]
  12. tauri-build = { version = "1", features = [] }
  13. [dependencies]
  14. warp = "0.3"
  15. which = "5.0.0"
  16. anyhow = "1.0"
  17. dirs = "5.0"
  18. open = "5.0"
  19. log = "0.4"
  20. ctrlc = "3.4"
  21. dunce = "1.0"
  22. log4rs = "1"
  23. nanoid = "0.4"
  24. chrono = "0.4"
  25. sysinfo = "0.29"
  26. sysproxy = { git="https://github.com/zzzgydi/sysproxy-rs", branch = "main" }
  27. rquickjs = "0.3"
  28. serde_json = "1.0"
  29. serde_yaml = "0.9"
  30. auto-launch = "0.5"
  31. once_cell = "1.18"
  32. port_scanner = "0.1.5"
  33. delay_timer = "0.11"
  34. parking_lot = "0.12"
  35. tokio = { version = "1", features = ["full"] }
  36. serde = { version = "1.0", features = ["derive"] }
  37. reqwest = { version = "0.11", features = ["json", "rustls-tls"] }
  38. tauri = { version = "1.5", features = ["clipboard-all", "global-shortcut-all", "process-all", "shell-all", "system-tray", "updater", "window-all"] }
  39. window-vibrancy = { version = "0.4.3" }
  40. window-shadows = { version = "0.2" }
  41. percent-encoding = "2.3.1"
  42. [target.'cfg(windows)'.dependencies]
  43. runas = "=1.0.0"
  44. deelevate = "0.2.0"
  45. winreg = { version = "0.52", features = ["transactions"] }
  46. windows-sys = { version = "0.52", features = ["Win32_System_LibraryLoader", "Win32_System_SystemInformation"] }
  47. [target.'cfg(windows)'.dependencies.tauri]
  48. features = ["global-shortcut-all", "icon-png", "process-all", "shell-all", "system-tray", "updater", "window-all"]
  49. [target.'cfg(linux)'.dependencies.tauri]
  50. features = ["global-shortcut-all", "process-all", "shell-all", "system-tray", "updater", "window-all", "native-tls-vendored", "reqwest-native-tls-vendored"]
  51. [features]
  52. default = ["custom-protocol"]
  53. custom-protocol = ["tauri/custom-protocol"]
  54. [profile.release]
  55. panic = "abort"
  56. codegen-units = 1
  57. lto = true
  58. opt-level = "s"