Cargo.toml 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. [package]
  2. name = "clash-verge"
  3. version = "1.4.7"
  4. description = "clash verge"
  5. authors = ["zzzgydi", "wonfen", "MystiPanda"]
  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. sysproxy = "0.3.0"
  16. which = "5.0.0"
  17. anyhow = "1.0"
  18. dirs = "5.0"
  19. open = "5.0"
  20. log = "0.4"
  21. ctrlc = "3.4"
  22. dunce = "1.0"
  23. log4rs = "1"
  24. nanoid = "0.4"
  25. chrono = "0.4"
  26. sysinfo = "0.30"
  27. rquickjs = "0.3" # 高版本不支持 Linux aarch64
  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.5"
  34. parking_lot = "0.12"
  35. percent-encoding = "2.3.1"
  36. window-shadows = { version = "0.2" }
  37. tokio = { version = "1", features = ["full"] }
  38. serde = { version = "1.0", features = ["derive"] }
  39. reqwest = { version = "0.11", features = ["json", "rustls-tls"] }
  40. tauri = { version = "1.5", features = [ "http-all", "notification-all", "icon-png", "clipboard-all", "global-shortcut-all", "process-all", "shell-all", "system-tray", "updater", "window-all"] }
  41. tauri-plugin-websocket = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v1" }
  42. [target.'cfg(windows)'.dependencies]
  43. runas = "=1.0.0" # 高版本会返回错误 Status
  44. deelevate = "0.2.0"
  45. winreg = "0.52.0"
  46. [target.'cfg(target_os = "linux")'.dependencies]
  47. #openssl
  48. [features]
  49. default = ["custom-protocol"]
  50. custom-protocol = ["tauri/custom-protocol"]
  51. verge-dev = []
  52. [profile.release]
  53. panic = "abort"
  54. codegen-units = 1
  55. lto = true
  56. opt-level = "s"