Cargo.toml 1.7 KB

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