[package]
edition = "2021"
name = "elevated-command"
version = "1.1.3"
authors = ["Luis Liu <vangork@live.com>"]
build = false
include = [
"README.md",
"LICENSE",
"src/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Run a command using sudo, prompting the user with an OS dialog if necessary"
homepage = "https://github.com/vangork/elevated-command"
documentation = "https://docs.rs/elevated-command"
readme = "README.md"
license = "MIT"
repository = "https://github.com/vangork/elevated-command"
[lib]
name = "elevated_command"
path = "src/lib.rs"
[dependencies.anyhow]
version = "1.0"
[dependencies.log]
version = "0.4"
[target.'cfg(target_family = "unix")'.dependencies.libc]
version = "0.2"
[target.'cfg(target_os = "macos")'.dependencies.base64]
version = "0.21.5"
[target.'cfg(target_os = "windows")'.dependencies.winapi]
version = "0.3.9"
features = [
"securitybaseapi",
"processthreadsapi",
]
[target.'cfg(target_os = "windows")'.dependencies.windows]
version = "0.52"
features = [
"Win32_Foundation",
"Win32_UI_Shell",
"Win32_UI_WindowsAndMessaging",
]