Cargo.toml 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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. rquickjs = "0.3"
  27. serde_json = "1.0"
  28. serde_yaml = "0.9"
  29. auto-launch = "0.5"
  30. once_cell = "1.18"
  31. port_scanner = "0.1.5"
  32. delay_timer = "0.11"
  33. parking_lot = "0.12"
  34. percent-encoding = "2.3.1"
  35. window-shadows = { version = "0.2" }
  36. tokio = { version = "1", features = ["full"] }
  37. serde = { version = "1.0", features = ["derive"] }
  38. reqwest = { version = "0.11", features = ["json"] }
  39. sysproxy = { git="https://github.com/zzzgydi/sysproxy-rs", branch = "main" }
  40. tauri = { version = "1.5", features = ["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"
  43. deelevate = "0.2.0"
  44. winreg = { version = "0.52", features = ["transactions"] }
  45. windows-sys = { version = "0.52", features = ["Win32_System_LibraryLoader", "Win32_System_SystemInformation"] }
  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"