Cargo.toml 912 B

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