Cargo.toml 1.0 KB

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