Cargo.toml 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. [workspace]
  2. members = [
  3. "lib-dispatch",
  4. "lib-log",
  5. "flowy-net",
  6. "flowy-core",
  7. "dart-ffi",
  8. "flowy-user",
  9. "flowy-test",
  10. "flowy-sqlite",
  11. "flowy-folder2",
  12. "flowy-notification",
  13. "flowy-document2",
  14. "flowy-error",
  15. "flowy-database2",
  16. "flowy-task",
  17. "flowy-config",
  18. ]
  19. [profile.dev]
  20. opt-level = 0
  21. #https://doc.rust-lang.org/rustc/codegen-options/index.html#debug-assertions
  22. #split-debuginfo = "unpacked"
  23. [profile.release]
  24. opt-level = 3
  25. ## debuginfo — it makes ./target much bigger, which again harms caching. Depending on your preferred workflow,
  26. ## you might consider disabling debuginfo unconditionally, this brings some benefits for local builds as well.
  27. #strip = "debuginfo"
  28. ## For from-scratch builds, incremental adds an extra dependency-tracking overhead. It also significantly increases
  29. ## the amount of IO and the size of ./target, which make caching less effective.
  30. incremental = false
  31. [patch.crates-io]
  32. collab = { git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "d074c9" }
  33. collab-folder = { git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "d074c9" }
  34. collab-document = { git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "d074c9" }
  35. collab-database = { git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "d074c9" }
  36. appflowy-integrate = { git = "https://github.com/AppFlowy-IO/AppFlowy-Collab", rev = "d074c9" }
  37. #collab = { path = "../AppFlowy-Collab/collab" }
  38. #collab-folder = { path = "../AppFlowy-Collab/collab-folder" }
  39. #collab-database= { path = "../AppFlowy-Collab/collab-database" }
  40. #collab-document = { path = "../AppFlowy-Collab/collab-document" }
  41. #appflowy-integrate = { path = "../AppFlowy-Collab/appflowy-integrate" }