Cargo.toml 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. [package]
  2. name = "tauri-runtime"
  3. version = "2.0.0-beta.1"
  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-beta.1", path = "../tauri-utils" }
  31. http = "0.2.4"
  32. raw-window-handle = "0.6"
  33. url = { version = "2" }
  34. [target."cfg(windows)".dependencies.windows]
  35. version = "0.52"
  36. features = [ "Win32_Foundation" ]
  37. [target."cfg(any(target_os = \"linux\", target_os = \"dragonfly\", target_os = \"freebsd\", target_os = \"openbsd\", target_os = \"netbsd\"))".dependencies]
  38. gtk = { version = "0.18", features = [ "v3_24" ] }
  39. [target."cfg(target_os = \"android\")".dependencies]
  40. jni = "0.21"
  41. [target."cfg(target_os = \"macos\")".dependencies]
  42. url = "2"
  43. [features]
  44. devtools = [ ]
  45. macos-private-api = [ ]