2 releases
new 0.1.2 | Jan 14, 2025 |
---|---|
0.1.0 | Jan 14, 2025 |
#4 in #powershell
212 downloads per month
Used in crud-path
4KB
Check if the current user is admin, use powershell
on windows and libc::getuid/libc::geteuid
on unix
fn main() {
println!("is_admin: {}", is_admin::is_admin())
}
Dependencies
~43KB