workspace = { } [package] name = "wvwasi-wry" version = "0.35.0-wvwasi-0.2.0" authors = [ "Tauri Programme within The Commons Conservancy" ] edition = "2021" license = "Apache-2.0 OR MIT" description = "Cross-platform WebView rendering library" readme = "README.md" repository = "https://github.com/defims/wry" documentation = "https://docs.rs/wry" categories = [ "gui" ] [package.metadata.docs.rs] no-default-features = true features = [ "file-drop", "protocol", "os-webview" ] targets = [ "x86_64-unknown-linux-gnu", "x86_64-pc-windows-msvc", "x86_64-apple-darwin" ] rustc-args = [ "--cfg", "docsrs" ] rustdoc-args = [ "--cfg", "docsrs" ] [features] default = [ "file-drop", "objc-exception", "protocol", "os-webview" ] objc-exception = [ "objc/exception" ] file-drop = [ ] protocol = [ ] devtools = [ ] transparent = [ ] fullscreen = [ ] linux-body = [ "webkit2gtk/v2_40", "os-webview" ] mac-proxy = [ ] os-webview = [ "javascriptcore-rs", "webkit2gtk", "webkit2gtk-sys", "dep:gtk", "soup3", "x11-dl", "gdkx11" ] [build-dependencies] cfg_aliases = "0.1" [dependencies] libc = "0.2" log = "0.4" once_cell = "1" serde = { version = "1.0", features = [ "derive" ] } serde_json = "1.0" thiserror = "1.0" url = "2.4" http = "0.2" raw-window-handle = { version = "0.5", features = [ "std" ] } [target."cfg(any(target_os = \"linux\", target_os = \"dragonfly\", target_os = \"freebsd\", target_os = \"openbsd\", target_os = \"netbsd\"))".dependencies] javascriptcore-rs = { version = "=1.1", features = [ "v2_28" ], optional = true } webkit2gtk = { version = "=2.0", features = [ "v2_38" ], optional = true } webkit2gtk-sys = { version = "=2.0", optional = true } gtk = { version = "0.18", optional = true } soup3 = { version = "0.5", optional = true } x11-dl = { version = "2.9", optional = true } gdkx11 = { version = "0.18", optional = true } [target."cfg(target_os = \"windows\")".dependencies] webview2-com = "0.28" windows-implement = "0.52" windows-version = "0.1" dunce = "1" [target."cfg(target_os = \"windows\")".dependencies.windows] version = "0.52" features = [ "implement", "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" ] [target."cfg(any(target_os = \"ios\", target_os = \"macos\"))".dependencies] block = "0.1" cocoa = "0.25" core-graphics = "0.23" objc = "0.2" objc_id = "0.1" [target."cfg(target_os = \"android\")".dependencies] crossbeam-channel = "0.5" html5ever = "0.26" kuchiki = { package = "kuchikiki", version = "0.8" } sha2 = "0.10" base64 = "0.21" jni = "0.21" ndk = "0.7" ndk-sys = "0.4" ndk-context = "0.1" tao-macros = { version = "0.1.0" } [dev-dependencies] http-range = "0.1.5" pollster = "0.3.0" tao = { version = "0.24", default-features = false, features = [ "rwh_05" ] } wgpu = "0.18.0" winit = { version = "0.29", features = [ "rwh_05" ] }