tauri-plugin-prevent-default 4.0.4

Disable default browser shortcuts
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 = "2021"
rust-version = "1.77.2"
name = "tauri-plugin-prevent-default"
version = "4.0.4"
authors = ["Andrew Ferreira <andrew.shien2@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Disable default browser shortcuts"
homepage = "https://github.com/ferreira-tb/tauri-plugin-prevent-default"
documentation = "https://docs.rs/tauri-plugin-prevent-default"
readme = "README.md"
keywords = [
    "browser",
    "plugin",
    "tauri",
    "webview",
]
categories = [
    "gui",
    "web-programming",
]
license = "MIT"
repository = "https://github.com/ferreira-tb/tauri-plugin-prevent-default"

[package.metadata.docs.rs]
no-default-features = true
features = ["platform-windows"]

[features]
platform-windows = [
    "dep:webview2-com",
    "dep:windows",
]

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

[dependencies.bitflags]
version = "2.10"

[dependencies.itertools]
version = "0.14"

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

[dependencies.strum]
version = "0.27"
features = ["derive"]

[dependencies.tauri]
version = "2"
default-features = false

[dependencies.thiserror]
version = "2"

[target."cfg(windows)".dependencies.webview2-com]
version = ">=0.37, <=0.38"
optional = true

[target."cfg(windows)".dependencies.windows]
version = "0.61"
optional = true

[lints.clippy]
clone_on_ref_ptr = "deny"
doc_markdown = "allow"
incompatible_msrv = "deny"
map_unwrap_or = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
needless_borrow = "deny"
rest_pat_in_fully_bound_structs = "deny"
similar_names = "allow"
struct_excessive_bools = "allow"
struct_field_names = "allow"
useless_conversion = "deny"

[lints.clippy.pedantic]
level = "deny"
priority = -1