Cargo.toml 1.7 KB

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