[package]
edition = "2021"
name = "showpid"
version = "1.0.9"
authors = ["Hadi Cahyadi <cumulus13@gmail.com>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Cross-platform CLI utility to bring a window to foreground by PID (Windows, Linux, macOS)"
homepage = "https://github.com/cumulus13/showpid"
readme = "README.md"
keywords = [
"cli",
"pid",
"window",
"foreground",
"cross-platform",
]
categories = ["command-line-utilities"]
license = "MIT"
repository = "https://github.com/cumulus13/showpid"
[lib]
name = "showpid"
path = "src/lib.rs"
[[bin]]
name = "showpid"
path = "src/main.rs"
[[example]]
name = "library_usage"
path = "examples/library_usage.rs"
[[test]]
name = "integration_test"
path = "tests/integration_test.rs"
[dependencies.clap-version-flag]
version = "1.0.5"
[target.'cfg(target_os = "linux")'.dependencies.x11]
version = "2"
features = ["xlib"]
[target.'cfg(target_os = "macos")'.dependencies]
[target."cfg(windows)".dependencies.windows]
version = "0.58"
features = [
"Win32_Foundation",
"Win32_UI_WindowsAndMessaging",
"Win32_System_Threading",
]
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
panic = "abort"
strip = true