Cargo.toml 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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 = ["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 = ["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. flowy-net = { path = "../../rust-lib/flowy-net" }
  24. [features]
  25. # by default Tauri runs in production mode
  26. # when `tauri dev` runs it is executed with `cargo run --no-default-features` if `devPath` is an URL
  27. default = ["custom-protocol"]
  28. # this feature is used used for production builds where `devPath` points to the filesystem
  29. # DO NOT remove this
  30. custom-protocol = ["tauri/custom-protocol"]
  31. [patch.crates-io]
  32. collab = { git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "cbc2e0" }
  33. collab-folder = { git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "cbc2e0" }
  34. collab-persistence = { git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "cbc2e0" }
  35. collab-document = { git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "cbc2e0" }
  36. collab-database = { git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "cbc2e0" }
  37. appflowy-integrate = { git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "cbc2e0" }
  38. #collab = { path = "../../AppFlowy-Collab/collab" }
  39. #collab-folder = { path = "../../AppFlowy-Collab/collab-folder" }
  40. #collab-document = { path = "../../AppFlowy-Collab/collab-document" }
  41. #collab-database = { path = "../../AppFlowy-Collab/collab-database" }
  42. #appflowy-integrate = { path = "../../AppFlowy-Collab/appflowy-integrate" }