[package]
edition = "2021"
rust-version = "1.94"
name = "win-desktop-utils"
version = "0.1.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Windows-first desktop utility helpers for Rust apps"
homepage = "https://github.com/funwithcthulhu/win-desktop-utils"
documentation = "https://docs.rs/win-desktop-utils"
readme = "README.md"
keywords = [
"windows",
"desktop",
"win32",
"shell",
]
categories = [
"os::windows-apis",
"api-bindings",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/funwithcthulhu/win-desktop-utils"
[package.metadata.docs.rs]
default-target = "x86_64-pc-windows-msvc"
targets = ["x86_64-pc-windows-msvc"]
[lib]
name = "win_desktop_utils"
path = "src/lib.rs"
[[example]]
name = "ensure_paths"
path = "examples/ensure_paths.rs"
[[example]]
name = "is_elevated"
path = "examples/is_elevated.rs"
[[example]]
name = "open"
path = "examples/open.rs"
[[example]]
name = "paths"
path = "examples/paths.rs"
[[example]]
name = "recycle_bin"
path = "examples/recycle_bin.rs"
[[example]]
name = "restart_as_admin"
path = "examples/restart_as_admin.rs"
[[example]]
name = "reveal"
path = "examples/reveal.rs"
[[example]]
name = "single_instance"
path = "examples/single_instance.rs"
[[test]]
name = "api_validation"
path = "tests/api_validation.rs"
[[test]]
name = "basic"
path = "tests/basic.rs"
[[test]]
name = "error_display"
path = "tests/error_display.rs"
[dependencies.windows]
version = "0.62.2"
features = [
"Win32_Foundation",
"Win32_UI_Shell",
"Win32_UI_WindowsAndMessaging",
"Win32_System_Threading",
"Win32_Security",
]