[package] name = "is_sudo" version = "0.0.1" authors = ["Spa5k"] edition = "2021" keywords = ["windows", "unix", "sudo", "administrator", "root"] license = "MIT" description = "Checks whether the process is running as root/sudo/admin permission in Windows and Unix systems" homepage = "https://github.com/spa5k/is_sudo" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] libc = "0.2" log = "0.4" [target.'cfg(windows)'.dependencies] [dependencies.winapi] version = "0.3.8" features = ["handleapi", "processthreadsapi", "winnt", "securitybaseapi", "impl-default"]