Cargo.toml 1.7 KB

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