[package]
name = "tauri-runtime-wry"
version = "2.7.1"
description = "Wry bindings to the Tauri runtime"
exclude = ["CHANGELOG.md", "/target"]
readme = "README.md"
authors.workspace = true
homepage.workspace = true
repository.workspace = true
categories.workspace = true
license.workspace = true
edition.workspace = true
rust-version.workspace = true
[package.metadata.docs.rs]
rustc-args = ["--cfg", "docsrs"]
rustdoc-args = ["--cfg", "docsrs"]
[dependencies]
wry = { version = "0.52", default-features = false, features = [
"drag-drop",
"protocol",
"os-webview",
"linux-body",
] }
tao = { version = "0.34", default-features = false, features = ["rwh_06"] }
tauri-runtime = { version = "2.7.0", path = "../tauri-runtime" }
tauri-utils = { version = "2.5.0", path = "../tauri-utils" }
raw-window-handle = "0.6"
http = "1"
url = "2"
tracing = { version = "0.1", optional = true }
log = "0.4.21"
[target."cfg(windows)".dependencies]
webview2-com = "0.38"
softbuffer = { version = "0.4", default-features = false }
once_cell = "1.20"
[target."cfg(windows)".dependencies.windows]
version = "0.61"
features = ["Win32_Foundation", "Win32_Graphics_Dwm"]
[target."cfg(any(target_os = \"linux\", target_os = \"dragonfly\", target_os = \"freebsd\", target_os = \"openbsd\", target_os = \"netbsd\"))".dependencies]
gtk = { version = "0.18", features = ["v3_24"] }
webkit2gtk = { version = "=2.0", features = ["v2_40"] }
percent-encoding = "2"
[target.'cfg(target_vendor = "apple")'.dependencies]
objc2 = "0.6"
[target.'cfg(target_os = "macos")'.dependencies]
objc2-foundation = { version = "0.3", features = [] }
objc2-app-kit = { version = "0.3", features = [
"block2",
"NSApplication",
"NSResponder",
"NSView",
"NSWindow",
"NSScreen",
"NSGraphics",
] }
[target."cfg(target_os = \"android\")".dependencies]
jni = "0.21"
[features]
default = ["x11"]
devtools = ["wry/devtools", "tauri-runtime/devtools"]
x11 = ["tao/x11", "wry/x11"]
macos-private-api = [
"wry/fullscreen",
"wry/transparent",
"tauri-runtime/macos-private-api",
]
objc-exception = []
tracing = ["dep:tracing", "wry/tracing"]
macos-proxy = ["wry/mac-proxy"]
unstable = []
common-controls-v6 = []