Cargo.toml 927 B

123456789101112131415161718192021222324252627282930313233
  1. [workspace]
  2. members = [
  3. "lib-dispatch",
  4. "lib-log",
  5. "lib-sqlite",
  6. "flowy-net",
  7. "flowy-sdk",
  8. "dart-ffi",
  9. "flowy-user",
  10. "flowy-test",
  11. "flowy-database",
  12. "flowy-folder",
  13. "dart-notify",
  14. "flowy-document",
  15. "flowy-error",
  16. "flowy-revision",
  17. "flowy-grid",
  18. "flowy-task",
  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