Cargo.toml 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. [package]
  2. name = "tauri-plugin"
  3. version = "2.0.1"
  4. description = "Build script and runtime Tauri plugin definitions"
  5. authors.workspace = true
  6. homepage.workspace = true
  7. repository.workspace = true
  8. categories.workspace = true
  9. license.workspace = true
  10. edition.workspace = true
  11. rust-version.workspace = true
  12. [package.metadata.docs.rs]
  13. features = ["build", "runtime"]
  14. rustc-args = ["--cfg", "docsrs"]
  15. rustdoc-args = ["--cfg", "docsrs"]
  16. [features]
  17. build = [
  18. "dep:anyhow",
  19. "dep:serde",
  20. "dep:serde_json",
  21. "dep:glob",
  22. "dep:toml",
  23. "dep:plist",
  24. "dep:walkdir",
  25. ]
  26. runtime = []
  27. [dependencies]
  28. anyhow = { version = "1", optional = true }
  29. serde = { version = "1", optional = true }
  30. tauri-utils = { version = "2.0.1", default-features = false, features = [
  31. "build",
  32. ], path = "../tauri-utils" }
  33. serde_json = { version = "1", optional = true }
  34. glob = { version = "0.3", optional = true }
  35. toml = { version = "0.8", optional = true }
  36. schemars = { version = "0.8.18", features = ["preserve_order"] }
  37. walkdir = { version = "2", optional = true }
  38. [target."cfg(target_os = \"macos\")".dependencies]
  39. plist = { version = "1", optional = true }