Cargo.toml 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. [package]
  2. name = "tauri-runtime"
  3. version = "2.0.0-rc.12"
  4. description = "Runtime for Tauri applications"
  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. rustc-args = ["--cfg", "docsrs"]
  17. rustdoc-args = ["--cfg", "docsrs"]
  18. default-target = "x86_64-unknown-linux-gnu"
  19. targets = [
  20. "x86_64-pc-windows-msvc",
  21. "x86_64-unknown-linux-gnu",
  22. "x86_64-apple-darwin",
  23. "x86_64-linux-android",
  24. "x86_64-apple-ios",
  25. ]
  26. [dependencies]
  27. serde = { version = "1.0", features = ["derive"] }
  28. serde_json = "1.0"
  29. thiserror = "1.0"
  30. tauri-utils = { version = "2.0.0-rc.12", path = "../tauri-utils" }
  31. http = "1.1"
  32. raw-window-handle = "0.6"
  33. url = { version = "2" }
  34. dpi = { version = "0.1", features = ["serde"] }
  35. [target."cfg(windows)".dependencies.windows]
  36. version = "0.58"
  37. features = ["Win32_Foundation"]
  38. [target."cfg(any(target_os = \"linux\", target_os = \"dragonfly\", target_os = \"freebsd\", target_os = \"openbsd\", target_os = \"netbsd\"))".dependencies]
  39. gtk = { version = "0.18", features = ["v3_24"] }
  40. [target."cfg(target_os = \"android\")".dependencies]
  41. jni = "0.21"
  42. [target."cfg(target_os = \"macos\")".dependencies]
  43. url = "2"
  44. [features]
  45. devtools = []
  46. macos-private-api = []