[package]
edition = "2024"
rust-version = "1.88.0"
name = "tauri-plugin-hasgard"
version = "0.3.0"
authors = ["Nyssance"]
build = "build.rs"
links = "tauri-plugin-hasgard"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Native automation and testing bridge for Tauri 2 applications"
homepage = "https://github.com/nyssance/tauri-hasgard"
readme = "README.md"
keywords = [
"tauri",
"plugin",
"testing",
"automation",
"accessibility",
]
categories = [
"development-tools::testing",
"gui",
]
license = "Apache-2.0"
repository = "https://github.com/nyssance/tauri-hasgard"
resolver = "2"
[features]
default = ["press"]
press = ["dep:enigo"]
[lib]
name = "tauri_plugin_hasgard"
path = "src/lib.rs"
[dependencies.enigo]
version = "0.6.1"
optional = true
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.tauri]
version = "2"
features = ["unstable"]
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"net",
"rt",
"sync",
"time",
"io-util",
]
[dependencies.tracing]
version = "0.1"
[dev-dependencies.serial_test]
version = "4"
[dev-dependencies.tokio]
version = "1"
features = [
"test-util",
"macros",
]
[build-dependencies.tauri-plugin]
version = "2.6.1"
features = ["build"]
[target.'cfg(target_os = "macos")'.dependencies.core-foundation]
version = "0.10"
[target.'cfg(target_os = "macos")'.dependencies.core-graphics]
version = "0.25"
[target.'cfg(target_os = "macos")'.dependencies.image]
version = "0.25"
features = ["png"]
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 = [
"NSWindow",
"NSResponder",
]
[target.'cfg(target_os="linux")'.dependencies.enigo]
version = "0.6.1"
features = ["wayland"]
optional = true
[target."cfg(unix)".dependencies.libc]
version = "0.2.184"
[target."cfg(windows)".dependencies.webview2-com]
version = "0.38"
[target."cfg(windows)".dependencies.windows]
version = "0.62"
features = [
"Win32_Security",
"Win32_Security_Authorization",
"Win32_System_Pipes",
"Win32_System_Threading",
"Win32_Foundation",
"Win32_Storage_FileSystem",
]
[lints.clippy]
unwrap_used = "deny"
[lints.clippy.pedantic]
level = "warn"
priority = -1