2 releases

new 0.1.2 Jan 14, 2025
0.1.0 Jan 14, 2025

#4 in #powershell

Download history 210/week @ 2025-01-11

212 downloads per month
Used in crud-path

MIT license

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