Cargo.toml 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  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.9.5", features = ["macos-private-api"] }
  18. tauri-plugin-opener = "2"
  19. tauri-plugin-deep-link = "2.4.6"
  20. tauri-plugin-shell = "2"
  21. tauri-plugin-dialog = "2"
  22. tauri-plugin-updater = "2"
  23. tauri-plugin-process = "2"
  24. tauri-plugin-store = "2"
  25. tauri-plugin-window-state = "2"
  26. tauri-plugin-clipboard-manager = "2"
  27. tauri-plugin-http = "2.5.6"
  28. tauri-plugin-notification = "2"
  29. tauri-plugin-single-instance = { version = "2", features = ["deep-link"] }
  30. serde = { version = "1", features = ["derive"] }
  31. serde_json = "1"
  32. tokio = "1.48.0"
  33. listeners = "0.3"
  34. tauri-plugin-os = "2"
  35. futures = "0.3.31"
  36. semver = "1.0.27"
  37. reqwest = { version = "0.12", default-features = false, features = ["rustls-tls"] }
  38. uuid = { version = "1.19.0", features = ["v4"] }
  39. tauri-plugin-decorum = "1.1.1"
  40. comrak = { version = "0.50", default-features = false }
  41. specta = "=2.0.0-rc.22"
  42. specta-typescript = "0.0.9"
  43. tauri-specta = { version = "=2.0.0-rc.21", features = ["derive", "typescript"] }
  44. dirs = "6.0.0"
  45. [target.'cfg(target_os = "linux")'.dependencies]
  46. gtk = "0.18.2"
  47. webkit2gtk = "=2.0.2"
  48. [target.'cfg(target_os = "macos")'.dependencies]
  49. objc2 = "0.6"
  50. objc2-web-kit = "0.3"
  51. [target.'cfg(windows)'.dependencies]
  52. windows = { version = "0.61", features = [
  53. "Win32_Foundation",
  54. "Win32_System_JobObjects",
  55. "Win32_System_Threading",
  56. "Win32_Security"
  57. ] }
  58. [patch.crates-io]
  59. specta = { git = "https://github.com/specta-rs/specta", rev = "591a5f3ddc78348abf4cbb541d599d65306d92b9" }
  60. specta-typescript = { git = "https://github.com/specta-rs/specta", rev = "591a5f3ddc78348abf4cbb541d599d65306d92b9" }
  61. tauri-specta = { git = "https://github.com/specta-rs/tauri-specta", rev = "6720b2848eff9a3e40af54c48d65f6d56b640c0b" }
  62. # TODO: https://github.com/tauri-apps/tauri/pull/14812
  63. tauri = { git = "https://github.com/tauri-apps/tauri", rev = "4d5d78daf636feaac20c5bc48a6071491c4291ee" }