Cargo.toml 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. [package]
  2. name = "tauri-build"
  3. version = "2.0.0-rc.12"
  4. description = "build time code to pair with https://crates.io/crates/tauri"
  5. exclude = ["CHANGELOG.md", "/target"]
  6. readme = "README.md"
  7. authors.workspace = true
  8. homepage.workspace = true
  9. repository.workspace = true
  10. categories.workspace = true
  11. license.workspace = true
  12. edition.workspace = true
  13. rust-version.workspace = true
  14. [package.metadata.docs.rs]
  15. all-features = true
  16. default-target = "x86_64-unknown-linux-gnu"
  17. targets = [
  18. "x86_64-pc-windows-msvc",
  19. "x86_64-unknown-linux-gnu",
  20. "x86_64-apple-darwin",
  21. "x86_64-linux-android",
  22. "x86_64-apple-ios",
  23. ]
  24. rustc-args = ["--cfg", "docsrs"]
  25. rustdoc-args = ["--cfg", "docsrs"]
  26. [dependencies]
  27. anyhow = "1"
  28. quote = { version = "1", optional = true }
  29. tauri-codegen = { version = "2.0.0-rc.12", path = "../tauri-codegen", optional = true }
  30. tauri-utils = { version = "2.0.0-rc.12", path = "../tauri-utils", features = [
  31. "build",
  32. "resources",
  33. ] }
  34. cargo_toml = "0.17"
  35. serde = "1"
  36. serde_json = "1"
  37. heck = "0.5"
  38. json-patch = "2.0"
  39. walkdir = "2"
  40. tauri-winres = "0.1"
  41. semver = "1"
  42. dirs = "5"
  43. glob = "0.3"
  44. toml = "0.8"
  45. schemars = { version = "0.8.18", features = ["preserve_order"] }
  46. [features]
  47. default = ["config-json"]
  48. codegen = ["tauri-codegen", "quote"]
  49. isolation = ["tauri-codegen/isolation", "tauri-utils/isolation"]
  50. config-json = []
  51. config-json5 = ["tauri-utils/config-json5"]
  52. config-toml = ["tauri-utils/config-toml"]