[package]
name = "rgpui-webview"
version.workspace = true
edition.workspace = true
publish = true
description = "WebView 集成"
license.workspace = true
repository = "https://github.com/launcher-rs/rgpui"

[features]
inspector = ["wry/devtools"]

[lib]
doctest = false

[dependencies]
anyhow.workspace = true
rgpui.workspace = true
wry = { version = "0.53.3", package = "lb-wry" }


[lints]
workspace = true

[dev-dependencies]
rgpui.workspace = true
rgpui-component.workspace = true
# rgpui-platform.workspace = true  # 暂时移除以解决发布时的循环依赖
raw-window-handle = { version = "0.6", features = ["std"] }

[target."cfg(target_os = \"linux\")".dev-dependencies]
gtk = "0.18.2"

[[example]]
name = "rgpui_webview_demo"
path = "example/rgpui_webview_demo.rs"
