Cargo.toml 1022 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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-plugin",
  14. # integration tests
  15. "core/tests/restart",
  16. "core/tests/acl",
  17. ]
  18. exclude = [
  19. # examples that can be compiled with the tauri CLI
  20. "examples/api/src-tauri",
  21. "examples/resources/src-tauri",
  22. "examples/web/core",
  23. "examples/file-associations/src-tauri",
  24. "examples/workspace",
  25. "examples/plugins/tauri-plugin-example",
  26. ]
  27. [workspace.package]
  28. authors = ["Tauri Programme within The Commons Conservancy"]
  29. homepage = "https://tauri.app/"
  30. repository = "https://github.com/tauri-apps/tauri"
  31. categories = ["gui", "web-programming"]
  32. license = "Apache-2.0 OR MIT"
  33. edition = "2021"
  34. rust-version = "1.70"
  35. # default to small, optimized workspace release binaries
  36. [profile.release]
  37. panic = "abort"
  38. codegen-units = 1
  39. lto = true
  40. incremental = false
  41. opt-level = "s"