win-desktop-utils 0.5.3

Windows desktop helpers for shell, shortcuts, app data, elevation, and single-instance Rust apps
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.82"
name = "win-desktop-utils"
version = "0.5.3"
build = false
exclude = [
    ".cargo/**",
    ".github/**",
    "xtask/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Windows desktop helpers for shell, shortcuts, app data, elevation, and single-instance Rust apps"
homepage = "https://github.com/funwithcthulhu/win-desktop-utils"
documentation = "https://docs.rs/win-desktop-utils"
readme = "README.md"
keywords = [
    "windows",
    "desktop",
    "shortcut",
    "explorer",
    "win32",
]
categories = [
    "os::windows-apis",
    "api-bindings",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/funwithcthulhu/win-desktop-utils"

[package.metadata.docs.rs]
all-features = true
default-target = "x86_64-pc-windows-msvc"
targets = ["x86_64-pc-windows-msvc"]

[features]
app = [
    "instance",
    "paths",
]
default = [
    "app",
    "elevation",
    "instance",
    "paths",
    "recycle-bin",
    "shell",
    "shortcuts",
]
elevation = ["dep:windows"]
instance = ["dep:windows"]
paths = ["dep:windows"]
recycle-bin = ["dep:windows"]
shell = ["dep:windows"]
shortcuts = ["dep:windows"]

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

[[example]]
name = "desktop_app"
path = "examples/desktop_app.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 = "run_with_verb"
path = "examples/run_with_verb.rs"

[[example]]
name = "shortcuts"
path = "examples/shortcuts.rs"

[[example]]
name = "single_instance"
path = "examples/single_instance.rs"

[[example]]
name = "single_instance_global"
path = "examples/single_instance_global.rs"

[[example]]
name = "single_instance_options"
path = "examples/single_instance_options.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"

[[test]]
name = "smoke"
path = "tests/smoke.rs"

[target."cfg(windows)".dependencies.windows]
version = "0.62.2"
features = [
    "Win32_Foundation",
    "Win32_System_Com",
    "Win32_UI_Shell",
    "Win32_UI_WindowsAndMessaging",
    "Win32_System_Threading",
    "Win32_Security",
]
optional = true