1 unstable release

Uses old Rust 2015

0.0.1 Jan 14, 2017

#83 in #libc

Download history 157/week @ 2023-12-13 55/week @ 2023-12-20 83/week @ 2023-12-27 83/week @ 2024-01-03 361/week @ 2024-01-10 82/week @ 2024-01-17 73/week @ 2024-01-24 270/week @ 2024-01-31 90/week @ 2024-02-07 65/week @ 2024-02-14 205/week @ 2024-02-21 187/week @ 2024-02-28 116/week @ 2024-03-06 45/week @ 2024-03-13 52/week @ 2024-03-20 85/week @ 2024-03-27

312 downloads per month
Used in 3 crates

MIT license

4KB
63 lines

This modules provides a wrapper around the libc functions in pwd.h for handling the /etc/passwd file, which stores information about users.

Examples

println!("{:?}", Passwd::from_name("root"));
println!("{:?}", Passwd::from_uid(0));

Dependencies

~42KB