Cargo.toml 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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.5" }
  19. tracing = { version = "0.1", features = ["log"] }
  20. lib-dispatch = { path = "../../rust-lib/lib-dispatch", features = ["use_serde"] }
  21. flowy-core = { path = "../../rust-lib/flowy-core", features = ["rev-sqlite", "ts"] }
  22. flowy-notification = { path = "../../rust-lib/flowy-notification", features = ["ts"] }
  23. [features]
  24. # by default Tauri runs in production mode
  25. # when `tauri dev` runs it is executed with `cargo run --no-default-features` if `devPath` is an URL
  26. default = ["custom-protocol"]
  27. # this feature is used used for production builds where `devPath` points to the filesystem
  28. # DO NOT remove this
  29. custom-protocol = ["tauri/custom-protocol"]
  30. [patch.crates-io]
  31. # Please using the following command to update the revision id
  32. # Current directory: frontend
  33. # Run the script:
  34. # scripts/tool/update_client_api_rev.sh new_rev_id
  35. # ⚠️⚠️⚠️️
  36. client-api = { git = "https://github.com/AppFlowy-IO/AppFlowy-Cloud", rev = "52b82e68" }
  37. # Please use the following script to update collab.
  38. # Working directory: frontend
  39. #
  40. # To update the commit ID, run:
  41. # scripts/tool/update_collab_rev.sh new_rev_id
  42. #
  43. # To switch to the local path, run:
  44. # scripts/tool/update_collab_source.sh
  45. # ⚠️⚠️⚠️️
  46. collab = { git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "2f5734ae" }
  47. collab-folder = { git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "2f5734ae" }
  48. collab-document = { git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "2f5734ae" }
  49. collab-database = { git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "2f5734ae" }
  50. collab-plugins = { git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "2f5734ae" }
  51. collab-user = { git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "2f5734ae" }
  52. collab-entity = { git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "2f5734ae" }
  53. collab-persistence = { git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "2f5734ae" }