Cargo.toml 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. [package]
  2. name = "tauri-runtime-wry"
  3. version = "2.1.0"
  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.46", default-features = false, features = [
  19. "drag-drop",
  20. "protocol",
  21. "os-webview",
  22. "linux-body",
  23. ] }
  24. tao = { version = "0.30.2", default-features = false, features = ["rwh_06"] }
  25. tauri-runtime = { version = "2.1.0", path = "../tauri-runtime" }
  26. tauri-utils = { version = "2.0.1", 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_vendor = "apple")'.dependencies]
  43. objc2 = "0.5.2"
  44. [target.'cfg(target_os = "macos")'.dependencies]
  45. objc2-foundation = { version = "0.2.2", features = [] }
  46. objc2-app-kit = { version = "0.2.2", features = [
  47. "block2",
  48. "NSApplication",
  49. "NSResponder",
  50. "NSView",
  51. "NSWindow",
  52. "NSGraphics",
  53. ] }
  54. [target."cfg(target_os = \"android\")".dependencies]
  55. jni = "0.21"
  56. [features]
  57. devtools = ["wry/devtools", "tauri-runtime/devtools"]
  58. macos-private-api = [
  59. "wry/fullscreen",
  60. "wry/transparent",
  61. "tauri-runtime/macos-private-api",
  62. ]
  63. objc-exception = ["wry/objc-exception"]
  64. tracing = ["dep:tracing", "wry/tracing"]
  65. macos-proxy = ["wry/mac-proxy"]
  66. unstable = []