1 unstable release

Uses old Rust 2015

0.0.1 Jan 14, 2017

#80 in #libc

Download history 9/week @ 2024-07-19 18/week @ 2024-07-26 13/week @ 2024-08-02 15/week @ 2024-08-09 14/week @ 2024-08-16 40/week @ 2024-08-23 90/week @ 2024-08-30 92/week @ 2024-09-06 94/week @ 2024-09-13 63/week @ 2024-09-20 141/week @ 2024-09-27 140/week @ 2024-10-04 69/week @ 2024-10-11 54/week @ 2024-10-18 160/week @ 2024-10-25 193/week @ 2024-11-01

484 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

~44KB