Cargo Features
[dependencies]
wry = { version = "0.47.2", default-features = false, features = ["serde", "objc-exception", "drag-drop", "protocol", "fullscreen", "linux-body", "mac-proxy", "os-webview", "tracing"] }
- default = drag-drop, objc-exception, os-webview, protocol
-
These default features are set whenever
wry
is added without
somewhere in the dependency tree.default-features = false - serde
- objc-exception default
-
objc2:
Wrap every
objc2::msg_send
call in a@try/@catch
block - 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? = gdkx11, javascriptcore-rs, soup3, webkit2gtk, webkit2gtk-sys, x11-dl
-
Enables gtk
- 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 os-webview
- 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 os-webview
- webkit2gtk linux dragonfly freebsd openbsd netbsd linux-body? os-webview