Cargo.toml 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. [package]
  2. name = "tauri-runtime-wry"
  3. version = "2.0.0-rc.12"
  4. description = "Wry bindings to the Tauri runtime"
  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. rustc-args = ["--cfg", "docsrs"]
  16. rustdoc-args = ["--cfg", "docsrs"]
  17. [dependencies]
  18. wry = { version = "0.43.1", default-features = false, features = [
  19. "drag-drop",
  20. "protocol",
  21. "os-webview",
  22. "linux-body",
  23. ] }
  24. tao = { version = "0.30", default-features = false, features = ["rwh_06"] }
  25. tauri-runtime = { version = "2.0.0-rc.11", path = "../tauri-runtime" }
  26. tauri-utils = { version = "2.0.0-rc.11", path = "../tauri-utils" }
  27. raw-window-handle = "0.6"
  28. http = "1.1"
  29. url = "2"
  30. tracing = { version = "0.1", optional = true }
  31. log = "0.4"
  32. [target."cfg(windows)".dependencies]
  33. webview2-com = "0.33"
  34. softbuffer = { version = "0.4", default-features = false }
  35. [target."cfg(windows)".dependencies.windows]
  36. version = "0.58"
  37. features = ["Win32_Foundation", "Win32_Graphics_Dwm"]
  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. webkit2gtk = { version = "=2.0", features = ["v2_40"] }
  41. percent-encoding = "2.1"
  42. [target.'cfg(target_os = "macos")'.dependencies]
  43. objc2 = "0.5.2"
  44. objc2-foundation = { version = "0.2.2", features = [] }
  45. objc2-app-kit = { version = "0.2.2", features = [
  46. "NSResponder",
  47. "NSView",
  48. "NSWindow",
  49. ] }
  50. [target."cfg(target_os = \"android\")".dependencies]
  51. jni = "0.21"
  52. [features]
  53. devtools = ["wry/devtools", "tauri-runtime/devtools"]
  54. macos-private-api = [
  55. "wry/fullscreen",
  56. "wry/transparent",
  57. "tauri-runtime/macos-private-api",
  58. ]
  59. objc-exception = ["wry/objc-exception"]
  60. tracing = ["dep:tracing", "wry/tracing"]
  61. macos-proxy = ["wry/mac-proxy"]
  62. unstable = []