Cargo.toml 1.4 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-folder",r
  12. "flowy-folder2",
  13. "flowy-notification",
  14. "flowy-document",
  15. "flowy-error",
  16. "flowy-revision",
  17. "flowy-revision-persistence",
  18. "flowy-database",
  19. "flowy-task",
  20. "flowy-client-sync",
  21. "flowy-derive",
  22. "flowy-ast",
  23. "flowy-codegen",
  24. ]
  25. [profile.dev]
  26. opt-level = 0
  27. #https://doc.rust-lang.org/rustc/codegen-options/index.html#debug-assertions
  28. #split-debuginfo = "unpacked"
  29. [profile.release]
  30. opt-level = 3
  31. ## debuginfo — it makes ./target much bigger, which again harms caching. Depending on your preferred workflow,
  32. ## you might consider disabling debuginfo unconditionally, this brings some benefits for local builds as well.
  33. #strip = "debuginfo"
  34. ## For from-scratch builds, incremental adds an extra dependency-tracking overhead. It also significantly increases
  35. ## the amount of IO and the size of ./target, which make caching less effective.
  36. incremental = false
  37. [patch.crates-io]
  38. collab = { git = "https://github.com/AppFlowy-IO/AppFlowy-Collab" }
  39. collab-folder = { git = "https://github.com/AppFlowy-IO/AppFlowy-Collab" }
  40. collab-persistence = { git = "https://github.com/AppFlowy-IO/AppFlowy-Collab" }
  41. #collab = { path = "../AppFlowy-Collab/collab" }
  42. #collab-folder = { path = "../AppFlowy-Collab/collab-folder" }
  43. #collab-persistence = { path = "../AppFlowy-Collab/collab-persistence" }