Cargo.toml 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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"
  43. # Temporary patch to schemars to preserve newlines in docstrings for our reference docs schemas
  44. # See https://github.com/GREsau/schemars/issues/120 for reference
  45. [patch.crates-io]
  46. schemars_derive = { git = 'https://github.com/chippers/schemars.git', branch = 'feat/preserve-description-newlines' }