bezel-browser 0.2.21

A platform webview hosted in a gpui window
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.90"
name = "bezel-browser"
version = "0.2.21"
authors = ["clearloop <tianyi.gc@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A platform webview hosted in a gpui window"
homepage = "https://github.com/crabtalk/bezel"
readme = "README.md"
keywords = [
    "gpui",
    "gui",
    "ui",
    "components",
]
categories = ["gui"]
license = "MIT"
repository = "https://github.com/crabtalk/bezel"
resolver = "2"

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

[lib]
name = "browser"
path = "src/lib.rs"

[[example]]
name = "page"
path = "examples/page.rs"

[[example]]
name = "windows"
path = "examples/windows.rs"

[dependencies.async-channel]
version = "2"

[dependencies.gpui]
version = "0.3.20"
package = "bezel-gpui"

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.tracing]
version = "0.1"

[dependencies.ui]
version = "0.2.21"
package = "bezel-ui"

[dev-dependencies.gpui_platform]
version = "0.3.20"
features = ["font-kit"]
package = "bezel-gpui-platform"

[target.'cfg(target_family = "wasm")'.dependencies.raw-window-handle]
version = "0.6"

[target.'cfg(target_family = "wasm")'.dependencies.wasm-bindgen]
version = "0.2"

[target.'cfg(target_family = "wasm")'.dependencies.web-sys]
version = "0.3"
features = [
    "CssStyleDeclaration",
    "Document",
    "DomRect",
    "Element",
    "HtmlCanvasElement",
    "HtmlElement",
    "HtmlIFrameElement",
    "Node",
]

[target.'cfg(target_os = "macos")'.dependencies.block2]
version = "0.6"

[target.'cfg(target_os = "macos")'.dependencies.image]
version = "0.25"
default-features = false

[target.'cfg(target_os = "macos")'.dependencies.objc2]
version = "0.6"

[target.'cfg(target_os = "macos")'.dependencies.objc2-app-kit]
version = "0.3"
features = [
    "std",
    "block2",
    "objc2-core-graphics",
    "NSApplication",
    "NSEvent",
    "NSGraphicsContext",
    "NSImage",
    "NSImageRep",
    "NSResponder",
    "NSTrackingArea",
    "NSView",
    "NSWindow",
]
default-features = false

[target.'cfg(target_os = "macos")'.dependencies.objc2-core-foundation]
version = "0.3"
features = [
    "std",
    "CFCGTypes",
]
default-features = false

[target.'cfg(target_os = "macos")'.dependencies.objc2-core-graphics]
version = "0.3"
features = [
    "std",
    "CGBitmapContext",
    "CGColorSpace",
    "CGContext",
    "CGImage",
]
default-features = false

[target.'cfg(target_os = "macos")'.dependencies.objc2-foundation]
version = "0.3"
features = [
    "std",
    "NSArray",
    "NSBundle",
    "NSDate",
    "NSError",
    "NSGeometry",
    "NSString",
    "NSUUID",
]
default-features = false

[target.'cfg(target_os = "macos")'.dependencies.objc2-web-kit]
version = "0.3"
features = [
    "std",
    "block2",
    "objc2-app-kit",
    "WKNavigation",
    "WKSnapshotConfiguration",
    "WKWebView",
    "WKWebsiteDataRecord",
    "WKWebsiteDataStore",
]
default-features = false

[target.'cfg(target_os = "macos")'.dependencies.raw-window-handle]
version = "0.6"

[target.'cfg(target_os = "macos")'.dependencies.wry]
version = "0.57"
default-features = false

[target.'cfg(target_os = "windows")'.dependencies.raw-window-handle]
version = "0.6"

[target.'cfg(target_os = "windows")'.dependencies.webview2-com]
version = "0.39"

[target.'cfg(target_os = "windows")'.dependencies.windows]
version = "0.62"
features = ["Win32_UI_Input_KeyboardAndMouse"]

[target.'cfg(target_os = "windows")'.dependencies.wry]
version = "0.57"
default-features = false

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ['cfg(feature, values("cargo-clippy"))']