[dependencies.cookie]
version = "0.18"
[dependencies.dpi]
version = "0.1"
[dependencies.http]
version = "1.1"
[dependencies.once_cell]
version = "1"
[dependencies.raw-window-handle]
features = ["std"]
version = "0.6"
[dependencies.thiserror]
version = "2.0"
[dependencies.tracing]
optional = true
version = "0.1"
[dev-dependencies.getrandom]
version = "0.3"
[dev-dependencies.http-range]
version = "0.1"
[dev-dependencies.percent-encoding]
version = "2.3"
[dev-dependencies.pollster]
version = "0.4.0"
[dev-dependencies.tao]
version = "0.32"
[dev-dependencies.wgpu]
version = "23"
[dev-dependencies.winit]
version = "0.30"
[[example]]
name = "async_custom_protocol"
path = "examples/async_custom_protocol.rs"
[[example]]
name = "custom_protocol"
path = "examples/custom_protocol.rs"
[[example]]
name = "custom_titlebar"
path = "examples/custom_titlebar.rs"
[[example]]
name = "gtk_multiwebview"
path = "examples/gtk_multiwebview.rs"
[[example]]
name = "multiwebview"
path = "examples/multiwebview.rs"
[[example]]
name = "multiwindow"
path = "examples/multiwindow.rs"
[[example]]
name = "reparent"
path = "examples/reparent.rs"
[[example]]
name = "simple"
path = "examples/simple.rs"
[[example]]
name = "streaming"
path = "examples/streaming.rs"
[[example]]
name = "transparent"
path = "examples/transparent.rs"
[[example]]
name = "wgpu"
path = "examples/wgpu.rs"
[[example]]
name = "window_border"
path = "examples/window_border.rs"
[[example]]
name = "winit"
path = "examples/winit.rs"
[features]
default = ["drag-drop", "protocol", "os-webview"]
devtools = []
drag-drop = []
fullscreen = []
linux-body = ["webkit2gtk/v2_40", "os-webview"]
mac-proxy = []
os-webview = ["javascriptcore-rs", "webkit2gtk", "webkit2gtk-sys", "dep:gtk", "soup3", "x11-dl", "gdkx11"]
protocol = []
serde = ["dpi/serde"]
tracing = ["dep:tracing"]
transparent = []
[lib]
name = "wry"
path = "src/lib.rs"
[lints.rust.unexpected_cfgs]
check-cfg = ["cfg(linux)", "cfg(gtk)"]
level = "warn"
priority = 0
[package]
authors = ["Tauri Programme within The Commons Conservancy"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = "build.rs"
categories = ["gui"]
description = "Cross-platform WebView rendering library"
documentation = "https://docs.rs/wry"
edition = "2021"
exclude = ["/.changes", "/.github", "/audits", "/wry-logo.svg"]
license = "Apache-2.0 OR MIT"
name = "wry"
readme = "README.md"
repository = "https://github.com/tauri-apps/wry"
rust-version = "1.77"
version = "0.50.4"
[package.metadata.docs.rs]
features = ["drag-drop", "protocol", "os-webview"]
no-default-features = true
rustc-args = ["--cfg", "docsrs"]
rustdoc-args = ["--cfg", "docsrs"]
targets = ["x86_64-unknown-linux-gnu", "x86_64-pc-windows-msvc", "x86_64-apple-darwin"]
[target.'cfg(any(target_os = "linux", target_os = "dragonfly", target_os = "freebsd", target_os = "openbsd", target_os = "netbsd"))'.dependencies.gdkx11]
optional = true
version = "0.18"
[target.'cfg(any(target_os = "linux", target_os = "dragonfly", target_os = "freebsd", target_os = "openbsd", target_os = "netbsd"))'.dependencies.gtk]
optional = true
version = "0.18"
[target.'cfg(any(target_os = "linux", target_os = "dragonfly", target_os = "freebsd", target_os = "openbsd", target_os = "netbsd"))'.dependencies.javascriptcore-rs]
features = ["v2_28"]
optional = true
version = "=1.1.2"
[target.'cfg(any(target_os = "linux", target_os = "dragonfly", target_os = "freebsd", target_os = "openbsd", target_os = "netbsd"))'.dependencies.percent-encoding]
version = "2.3"
[target.'cfg(any(target_os = "linux", target_os = "dragonfly", target_os = "freebsd", target_os = "openbsd", target_os = "netbsd"))'.dependencies.soup3]
optional = true
version = "0.5"
[target.'cfg(any(target_os = "linux", target_os = "dragonfly", target_os = "freebsd", target_os = "openbsd", target_os = "netbsd"))'.dependencies.webkit2gtk]
features = ["v2_38"]
optional = true
version = "=2.0.1"
[target.'cfg(any(target_os = "linux", target_os = "dragonfly", target_os = "freebsd", target_os = "openbsd", target_os = "netbsd"))'.dependencies.webkit2gtk-sys]
optional = true
version = "=2.0.1"
[target.'cfg(any(target_os = "linux", target_os = "dragonfly", target_os = "freebsd", target_os = "openbsd", target_os = "netbsd"))'.dependencies.x11-dl]
optional = true
version = "2.21"
[target.'cfg(target_os = "android")'.dependencies.base64]
version = "0.22"
[target.'cfg(target_os = "android")'.dependencies.crossbeam-channel]
version = "0.5"
[target.'cfg(target_os = "android")'.dependencies.html5ever]
version = "0.26"
[target.'cfg(target_os = "android")'.dependencies.jni]
version = "0.21"
[target.'cfg(target_os = "android")'.dependencies.kuchiki]
package = "kuchikiki"
version = "0.8"
[target.'cfg(target_os = "android")'.dependencies.libc]
version = "0.2"
[target.'cfg(target_os = "android")'.dependencies.ndk]
version = "0.9"
[target.'cfg(target_os = "android")'.dependencies.sha2]
version = "0.10"
[target.'cfg(target_os = "android")'.dependencies.tao-macros]
version = "0.1"
[target.'cfg(target_os = "ios")'.dependencies.objc2-ui-kit]
default-features = false
features = ["std", "objc2-core-foundation", "UIResponder", "UIScrollView", "UIView", "UIWindow", "UIApplication", "UIEvent"]
version = "0.3.0"
[target.'cfg(target_os = "macos")'.dependencies.objc2-app-kit]
default-features = false
features = ["std", "objc2-core-foundation", "NSApplication", "NSButton", "NSControl", "NSEvent", "NSWindow", "NSView", "NSPasteboard", "NSPanel", "NSResponder", "NSOpenPanel", "NSSavePanel", "NSMenu"]
version = "0.3.0"
[target.'cfg(target_os = "windows")'.dependencies.dunce]
version = "1"
[target.'cfg(target_os = "windows")'.dependencies.webview2-com]
version = "0.36"
[target.'cfg(target_os = "windows")'.dependencies.windows]
features = ["Win32_Foundation", "Win32_Graphics_Gdi", "Win32_System_Com", "Win32_System_Com_StructuredStorage", "Win32_System_LibraryLoader", "Win32_System_Ole", "Win32_System_SystemInformation", "Win32_System_SystemServices", "Win32_UI_Shell", "Win32_UI_WindowsAndMessaging", "Win32_Globalization", "Win32_UI_HiDpi", "Win32_UI_Input", "Win32_UI_Input_KeyboardAndMouse"]
version = "0.60"
[target.'cfg(target_os = "windows")'.dependencies.windows-core]
version = "0.60"
[target.'cfg(target_os = "windows")'.dependencies.windows-version]
version = "0.1"
[target.'cfg(target_vendor = "apple")'.dependencies.block2]
version = "0.6"
[target.'cfg(target_vendor = "apple")'.dependencies.objc2]
features = ["exception", "disable-encoding-assertions"]
version = "0.6"
[target.'cfg(target_vendor = "apple")'.dependencies.objc2-core-foundation]
default-features = false
features = ["std", "CFCGTypes"]
version = "0.3.0"
[target.'cfg(target_vendor = "apple")'.dependencies.objc2-foundation]
default-features = false
features = ["std", "objc2-core-foundation", "NSURLRequest", "NSURL", "NSString", "NSKeyValueCoding", "NSStream", "NSDictionary", "NSObject", "NSData", "NSEnumerator", "NSKeyValueObserving", "NSThread", "NSJSONSerialization", "NSDate", "NSBundle", "NSProcessInfo", "NSValue", "NSRange", "NSRunLoop"]
version = "0.3.0"
[target.'cfg(target_vendor = "apple")'.dependencies.objc2-web-kit]
default-features = false
features = ["std", "objc2-core-foundation", "objc2-app-kit", "block2", "WKWebView", "WKWebViewConfiguration", "WKWebsiteDataStore", "WKDownload", "WKDownloadDelegate", "WKNavigation", "WKNavigationDelegate", "WKUserContentController", "WKURLSchemeHandler", "WKPreferences", "WKURLSchemeTask", "WKScriptMessageHandler", "WKUIDelegate", "WKOpenPanelParameters", "WKFrameInfo", "WKSecurityOrigin", "WKScriptMessage", "WKNavigationAction", "WKWebpagePreferences", "WKNavigationResponse", "WKUserScript", "WKHTTPCookieStore"]
version = "0.3.0"
[target.'cfg(target_vendor = "apple")'.dependencies.url]
version = "2.5"