Cargo.toml 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. [package]
  2. name = "appflowy_tauri"
  3. version = "0.0.0"
  4. description = "A Tauri App"
  5. authors = ["you"]
  6. license = ""
  7. repository = ""
  8. edition = "2021"
  9. rust-version = "1.57"
  10. # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
  11. [build-dependencies]
  12. tauri-build = { version = "1.2", features = [] }
  13. [dependencies]
  14. serde_json = "1.0"
  15. serde = { version = "1.0", features = ["derive"] }
  16. tauri = { version = "1.2", features = ["fs-all", "shell-open"] }
  17. tauri-utils = "1.2"
  18. bytes = { version = "1.4" }
  19. tracing = { version = "0.1", features = ["log"] }
  20. lib-dispatch = { path = "../../rust-lib/lib-dispatch", features = [
  21. "use_serde",
  22. ] }
  23. flowy-core = { path = "../../rust-lib/flowy-core", features = [
  24. "rev-sqlite",
  25. "ts",
  26. ] }
  27. flowy-notification = { path = "../../rust-lib/flowy-notification", features = [
  28. "ts",
  29. ] }
  30. [features]
  31. # by default Tauri runs in production mode
  32. # when `tauri dev` runs it is executed with `cargo run --no-default-features` if `devPath` is an URL
  33. default = ["custom-protocol"]
  34. # this feature is used used for production builds where `devPath` points to the filesystem
  35. # DO NOT remove this
  36. custom-protocol = ["tauri/custom-protocol"]
  37. [patch.crates-io]
  38. client-api = { git = "https://github.com/AppFlowy-IO/AppFlowy-Cloud", rev = "8f8f6a" }
  39. # ⚠️⚠️⚠️
  40. # Please use the following script to update collab.
  41. # Working directory: frontend
  42. #
  43. # To update the commit ID, run:
  44. # scripts/tool/update_collab_rev.sh e37ee7
  45. #
  46. # To switch to the local path, run:
  47. # scripts/tool/update_collab_source.sh
  48. # ⚠️⚠️⚠️️
  49. collab = { git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "e37ee7" }
  50. collab-folder = { git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "e37ee7" }
  51. collab-persistence = { git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "e37ee7" }
  52. collab-document = { git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "e37ee7" }
  53. collab-database = { git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "e37ee7" }
  54. collab-plugins = { git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "e37ee7" }
  55. collab-user = { git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "e37ee7" }
  56. collab-define = { git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "e37ee7" }
  57. collab-sync-protocol = { git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "e37ee7" }