Cargo Features

[dependencies]
wry = { version = "0.53.5", default-features = false, features = ["serde", "drag-drop", "protocol", "fullscreen", "linux-body", "mac-proxy", "os-webview", "x11", "tracing"] }
default = drag-drop, os-webview, protocol, x11

These default features are set whenever wry is added without default-features = false somewhere in the dependency tree.

serde

Enables serde of dpi

drag-drop default

Affects wry::WebViewAttributes.drag_drop_handler

protocol default

Affects wry::WebViewBuilderExtAndroid.with_asset_loader

devtools transparent fullscreen
linux-body = os-webview

Enables v2_40 of webkit2gtk

mac-proxy
os-webview default linux-body? = javascriptcore-rs, soup3, webkit2gtk, webkit2gtk-sys

Enables gtk

Affects wry::webview_version

x11 dev default = gdkx11, x11-dl

Enables x11 of tao

tracing

Enables tracing

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

gdkx11 linux dragonfly freebsd openbsd netbsd x11
javascriptcore-rs linux dragonfly freebsd openbsd netbsd os-webview
soup3 linux dragonfly freebsd openbsd netbsd os-webview

Enables soup3 ^0.5

webkit2gtk-sys linux dragonfly freebsd openbsd netbsd os-webview
x11-dl linux dragonfly freebsd openbsd netbsd x11
webkit2gtk linux dragonfly freebsd openbsd netbsd linux-body? os-webview