Cargo.toml 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. [package]
  2. name = "clash-verge"
  3. version = "0.1.0"
  4. description = "clash verge"
  5. authors = ["zzzgydi"]
  6. license = "GPL-3.0"
  7. repository = "https://github.com/keiko233/clash-nyanpasu.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 = "4.2.2"
  16. anyhow = "1.0"
  17. dirs = "5.0.0"
  18. open = "4.0.1"
  19. log = "0.4.14"
  20. ctrlc = "3.2.3"
  21. dunce = "1.0.2"
  22. log4rs = "1.0.0"
  23. nanoid = "0.4.0"
  24. chrono = "0.4.19"
  25. sysinfo = "0.29"
  26. sysproxy = "0.3"
  27. rquickjs = "0.1.7"
  28. serde_json = "1.0"
  29. serde_yaml = "0.9"
  30. auto-launch = "0.5"
  31. once_cell = "1.14.0"
  32. port_scanner = "0.1.5"
  33. delay_timer = "0.11.1"
  34. parking_lot = "0.12.0"
  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.2.4", features = ["global-shortcut-all", "process-all", "shell-all", "system-tray", "updater", "window-all"] }
  39. window-vibrancy = { version = "0.3.0" }
  40. window-shadows = { version = "0.2.0" }
  41. wry = { version = "0.24.3" }
  42. [target.'cfg(windows)'.dependencies]
  43. runas = "1.1.0"
  44. deelevate = "0.2.0"
  45. winreg = { version = "0.50", features = ["transactions"] }
  46. windows-sys = { version = "0.48", 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. verge-dev = []
  55. default-meta = []
  56. [profile.release]
  57. panic = "abort"
  58. codegen-units = 1
  59. lto = true
  60. opt-level = "s"