Cargo.toml 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. [workspace]
  2. resolver = "2"
  3. members = [
  4. # core
  5. "core/tauri",
  6. "core/tauri-runtime",
  7. "core/tauri-runtime-wry",
  8. "core/tauri-macros",
  9. "core/tauri-utils",
  10. "core/tauri-build",
  11. "core/tauri-codegen",
  12. "core/tauri-config-schema",
  13. "core/tauri-acl-schema",
  14. "core/tauri-plugin",
  15. # integration tests
  16. "core/tests/restart",
  17. "core/tests/acl",
  18. ]
  19. exclude = [
  20. # examples that can be compiled with the tauri CLI
  21. "examples/api/src-tauri",
  22. "examples/resources/src-tauri",
  23. "examples/web/core",
  24. "examples/file-associations/src-tauri",
  25. "examples/workspace",
  26. "examples/plugins/tauri-plugin-example",
  27. ]
  28. [workspace.package]
  29. authors = ["Tauri Programme within The Commons Conservancy"]
  30. homepage = "https://tauri.app/"
  31. repository = "https://github.com/tauri-apps/tauri"
  32. categories = ["gui", "web-programming"]
  33. license = "Apache-2.0 OR MIT"
  34. edition = "2021"
  35. rust-version = "1.70"
  36. # default to small, optimized workspace release binaries
  37. [profile.release]
  38. panic = "abort"
  39. codegen-units = 1
  40. lto = true
  41. incremental = false
  42. opt-level = "s"