Cargo.toml 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. [package]
  2. name = "clash-verge"
  3. version = "1.5.3"
  4. description = "clash verge"
  5. authors = ["zzzgydi", "wonfen", "MystiPanda"]
  6. license = "GPL-3.0-only"
  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 = "6.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.30"
  26. rquickjs = "0.3" # 高版本不支持 Linux aarch64
  27. serde_json = "1.0"
  28. serde_yaml = "0.9"
  29. once_cell = "1.18"
  30. port_scanner = "0.1.5"
  31. delay_timer = "0.11.5"
  32. parking_lot = "0.12"
  33. percent-encoding = "2.3.1"
  34. window-shadows = { version = "0.2" }
  35. tokio = { version = "1", features = ["full"] }
  36. serde = { version = "1.0", features = ["derive"] }
  37. reqwest = { version = "0.11", features = ["json", "rustls-tls"] }
  38. sysproxy = { git="https://github.com/zzzgydi/sysproxy-rs", branch = "main" }
  39. auto-launch = { git="https://github.com/zzzgydi/auto-launch", branch = "main" }
  40. tauri = { version = "1.5", features = [ "dialog-open", "notification-all", "icon-png", "clipboard-all", "global-shortcut-all", "process-all", "shell-all", "system-tray", "updater", "window-all"] }
  41. [target.'cfg(windows)'.dependencies]
  42. runas = "=1.0.0" # 高版本会返回错误 Status
  43. deelevate = "0.2.0"
  44. winreg = "0.52.0"
  45. [target.'cfg(target_os = "linux")'.dependencies]
  46. #openssl
  47. [features]
  48. default = ["custom-protocol"]
  49. custom-protocol = ["tauri/custom-protocol"]
  50. verge-dev = []
  51. [profile.release]
  52. panic = "abort"
  53. codegen-units = 1
  54. lto = true
  55. opt-level = "s"