Cargo.toml 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. [package]
  2. name = "tauri-build"
  3. version = "1.2.1"
  4. authors = [ "Tauri Programme within The Commons Conservancy" ]
  5. categories = [ "gui", "web-programming" ]
  6. license = "Apache-2.0 OR MIT"
  7. homepage = "https://tauri.app"
  8. repository = "https://github.com/tauri-apps/tauri/tree/dev/core/tauri-build"
  9. description = "build time code to pair with https://crates.io/crates/tauri"
  10. edition = "2021"
  11. rust-version = "1.59"
  12. exclude = [ "CHANGELOG.md", "/target" ]
  13. readme = "README.md"
  14. [package.metadata.docs.rs]
  15. all-features = true
  16. rustdoc-args = [ "--cfg", "doc_cfg" ]
  17. [dependencies]
  18. anyhow = "1"
  19. quote = { version = "1", optional = true }
  20. tauri-codegen = { version = "1.2.1", path = "../tauri-codegen", optional = true }
  21. tauri-utils = { version = "1.2.1", path = "../tauri-utils", features = [ "build", "resources" ] }
  22. cargo_toml = "0.14"
  23. serde = "1"
  24. serde_json = "1"
  25. heck = "0.4"
  26. json-patch = "0.3"
  27. syn = { version = "1", features = ["full", "parsing"], optional = true }
  28. prettyplease = { version = "0.1", optional = true }
  29. # dependencies for Windows targets
  30. tauri-winres = "0.1"
  31. semver = "1"
  32. [features]
  33. default = [ "codegen" ]
  34. codegen = [ "tauri-codegen", "quote", "dep:syn", "dep:prettyplease" ]
  35. isolation = [ "tauri-codegen/isolation", "tauri-utils/isolation" ]
  36. config-json5 = [ "tauri-utils/config-json5" ]
  37. config-toml = [ "tauri-utils/config-toml" ]