Add os-webview feature to wry to fix builds

This commit is contained in:
Jonathan Kelley committed 2024-01-05 23:25:15 -08:00
1 parent 2e0cded871
commit e9e7219b4b
3 files changed
+9 -20

No files matched your search

+1 -6
View File
@@ -25,6 +25,7 @@ serde_json = "1.0.79"
thiserror = { workspace = true }
tracing = { workspace = true }
wry = { version = "0.35.0", default-features = false, features = [
"os-webview",
"protocol",
"file-drop",
] }
@@ -67,12 +68,6 @@ objc_id = "0.1.1"
core-foundation = "0.9.3"
objc = "0.2.7"
[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" ] }
webkit2gtk = { version = "=2.0", features = [ "v2_38" ] }
percent-encoding = "2.1"
[features]
default = ["tokio_runtime", "hot-reload", "wry/objc-exception"]
tokio_runtime = ["tokio"]