[package]
edition = "2024"
name = "gpui-webview"
version = "0.9.0"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "WebView support for GPUI, based on Wry."
homepage = "https://gpui-kit.com"
documentation = "https://docs.rs/gpui-webview"
readme = "README.md"
keywords = [
"webview",
"gpui",
"wry",
]
license = "Apache-2.0"
repository = "https://github.com/longbridge/gpui-kit/tree/main/crates/webview"
resolver = "2"
[features]
gpui-fast = [
"dep:objc2",
"dep:objc2-foundation",
]
inspector = ["wry/devtools"]
[lib]
name = "gpui_webview"
path = "src/lib.rs"
doctest = false
[dependencies.anyhow]
version = "1"
[dependencies.gpui-kit]
version = "0.9.0"
default-features = false
[dependencies.log]
version = "0.4"
[dependencies.wry]
version = "0.53.3"
package = "lb-wry"
[target.'cfg(target_os = "linux")'.dependencies.gtk]
version = "0.18"
[target.'cfg(target_os = "macos")'.dependencies.objc2]
version = "0.6"
optional = true
[target.'cfg(target_os = "macos")'.dependencies.objc2-app-kit]
version = "0.3"
features = [
"std",
"NSAppearance",
"NSView",
]
default-features = false
[target.'cfg(target_os = "macos")'.dependencies.objc2-foundation]
version = "0.3"
features = [
"std",
"NSGeometry",
]
optional = true
default-features = false