# 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"
name = "rgpui-webview"
version = "0.3.0"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "WebView 集成"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/launcher-rs/rgpui"

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

[lib]
name = "rgpui_webview"
path = "src/lib.rs"
doctest = false

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

[dependencies.anyhow]
version = "1.0.86"

[dependencies.rgpui]
version = "0.3.0"
default-features = false

[dependencies.wry]
version = "0.53.3"
package = "lb-wry"

[dev-dependencies.raw-window-handle]
version = "0.6"
features = ["std"]

[dev-dependencies.rgpui]
version = "0.3.0"
default-features = false

[dev-dependencies.rgpui-component]
version = "0.3.0"

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

[lints.clippy]
dbg_macro = "deny"
declare_interior_mutable_const = "deny"
disallowed_methods = "deny"
large_enum_variant = "allow"
let_underscore_future = "allow"
nonminimal_bool = "allow"
redundant_clone = "deny"
single_range_in_vec_init = "allow"
todo = "deny"
too_many_arguments = "allow"
type_complexity = "allow"

[lints.clippy.style]
level = "allow"
priority = -1

[lints.rust.unexpected_cfgs]
level = "allow"
priority = 0
