[package]
edition = "2021"
name = "is_sudo"
version = "0.0.2"
authors = ["Spa5k"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Checks whether the process is running as root/sudo/admin permission in Windows and Unix systems"
homepage = "https://github.com/spa5k/is_sudo"
readme = "README.md"
keywords = [
"windows",
"unix",
"sudo",
"administrator",
"root",
]
license = "MIT"
repository = "https://github.com/spa5k/is_sudo"
[lib]
name = "is_sudo"
path = "src/lib.rs"
[dependencies.libc]
version = "0.2.183"
[target."cfg(windows)".dependencies.winapi]
version = "0.3.9"
features = [
"handleapi",
"processthreadsapi",
"winnt",
"securitybaseapi",
"impl-default",
]