mirror of
https://github.com/tauri-apps/tauri.git
synced 2026-02-06 13:57:16 +00:00
remove webview2-com from tauri-runtime
This commit is contained in:
parent
165a24ef83
commit
081910f61c
1
Cargo.lock
generated
1
Cargo.lock
generated
@ -9073,7 +9073,6 @@ dependencies = [
|
||||
"tauri-utils",
|
||||
"thiserror 2.0.12",
|
||||
"url",
|
||||
"webview2-com",
|
||||
"windows 0.61.1",
|
||||
]
|
||||
|
||||
|
||||
@ -39,9 +39,6 @@ cookie = "0.18"
|
||||
version = "0.61"
|
||||
features = ["Win32_Foundation", "Win32_System_WinRT"]
|
||||
|
||||
[target."cfg(windows)".dependencies]
|
||||
webview2-com = "0.38"
|
||||
|
||||
[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"] }
|
||||
|
||||
|
||||
@ -193,8 +193,8 @@ tray-icon = ["dep:tray-icon"]
|
||||
tracing = ["dep:tracing", "tauri-macros/tracing", "tauri-runtime-wry?/tracing"]
|
||||
test = []
|
||||
compression = ["tauri-macros/compression", "tauri-utils/compression"]
|
||||
wry = ["webview2-com", "webkit2gtk", "tauri-runtime-wry"]
|
||||
cef = ["tauri-runtime-cef"]
|
||||
wry = ["dep:webview2-com", "dep:webkit2gtk", "dep:tauri-runtime-wry"]
|
||||
cef = ["dep:tauri-runtime-cef"]
|
||||
# TODO: Remove in v3 - wry does not have this feature anymore
|
||||
objc-exception = []
|
||||
linux-libxdo = ["tray-icon/libxdo", "muda/libxdo"]
|
||||
|
||||
@ -183,7 +183,7 @@ impl PlatformWebview {
|
||||
}
|
||||
|
||||
/// Returns the WebView2 controller.
|
||||
#[cfg(windows)]
|
||||
#[cfg(all(windows, feature = "wry"))]
|
||||
#[cfg_attr(docsrs, doc(cfg(windows)))]
|
||||
pub fn controller(
|
||||
&self,
|
||||
@ -192,7 +192,7 @@ impl PlatformWebview {
|
||||
}
|
||||
|
||||
/// Returns the WebView2 environment.
|
||||
#[cfg(windows)]
|
||||
#[cfg(all(windows, feature = "wry"))]
|
||||
#[cfg_attr(docsrs, doc(cfg(windows)))]
|
||||
pub fn environment(
|
||||
&self,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user