Cargo.toml 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. [package]
  2. name = "opencode-desktop"
  3. version = "0.0.0"
  4. description = "The open source AI coding agent"
  5. authors = ["Anomaly Innovations"]
  6. edition = "2024"
  7. # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
  8. [lib]
  9. # The `_lib` suffix may seem redundant but it is necessary
  10. # to make the lib name unique and wouldn't conflict with the bin name.
  11. # This seems to be only an issue on Windows, see https://github.com/rust-lang/cargo/issues/8519
  12. name = "opencode_lib"
  13. crate-type = ["staticlib", "cdylib", "rlib"]
  14. [build-dependencies]
  15. tauri-build = { version = "2", features = [] }
  16. [dependencies]
  17. tauri = { version = "2", features = ["macos-private-api", "devtools"] }
  18. tauri-plugin-opener = "2"
  19. tauri-plugin-shell = "2"
  20. tauri-plugin-dialog = "2"
  21. tauri-plugin-updater = "2"
  22. tauri-plugin-process = "2"
  23. tauri-plugin-store = "2"
  24. tauri-plugin-window-state = "2"
  25. tauri-plugin-clipboard-manager = "2"
  26. tauri-plugin-http = "2"
  27. tauri-plugin-notification = "2"
  28. tauri-plugin-single-instance = "2"
  29. serde = { version = "1", features = ["derive"] }
  30. serde_json = "1"
  31. tokio = "1.48.0"
  32. listeners = "0.3"
  33. tauri-plugin-os = "2"
  34. futures = "0.3.31"
  35. semver = "1.0.27"
  36. reqwest = { version = "0.12", default-features = false, features = ["rustls-tls"] }
  37. uuid = { version = "1.19.0", features = ["v4"] }
  38. [target.'cfg(target_os = "linux")'.dependencies]
  39. gtk = "0.18.2"
  40. webkit2gtk = "=2.0.1"
  41. [target.'cfg(windows)'.dependencies]
  42. windows = { version = "0.61", features = [
  43. "Win32_Foundation",
  44. "Win32_System_JobObjects",
  45. "Win32_System_Threading",
  46. "Win32_Security"
  47. ] }