Cargo.toml 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  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. tracing = "0.1"
  46. tracing-subscriber = { version = "0.3", features = ["env-filter"] }
  47. tracing-appender = "0.2"
  48. chrono = "0.4"
  49. [target.'cfg(target_os = "linux")'.dependencies]
  50. gtk = "0.18.2"
  51. webkit2gtk = "=2.0.2"
  52. [target.'cfg(target_os = "macos")'.dependencies]
  53. objc2 = "0.6"
  54. objc2-web-kit = "0.3"
  55. [target.'cfg(windows)'.dependencies]
  56. windows = { version = "0.61", features = [
  57. "Win32_Foundation",
  58. "Win32_System_JobObjects",
  59. "Win32_System_Threading",
  60. "Win32_Security"
  61. ] }
  62. [patch.crates-io]
  63. specta = { git = "https://github.com/specta-rs/specta", rev = "591a5f3ddc78348abf4cbb541d599d65306d92b9" }
  64. specta-typescript = { git = "https://github.com/specta-rs/specta", rev = "591a5f3ddc78348abf4cbb541d599d65306d92b9" }
  65. tauri-specta = { git = "https://github.com/specta-rs/tauri-specta", rev = "6720b2848eff9a3e40af54c48d65f6d56b640c0b" }
  66. # TODO: https://github.com/tauri-apps/tauri/pull/14812
  67. tauri = { git = "https://github.com/tauri-apps/tauri", rev = "4d5d78daf636feaac20c5bc48a6071491c4291ee" }