1 unstable release

Uses old Rust 2015

0.0.1 Jan 14, 2017

#88 in #libc

Download history 14/week @ 2024-04-22 44/week @ 2024-04-29 50/week @ 2024-05-06 37/week @ 2024-05-13 19/week @ 2024-05-20 59/week @ 2024-05-27 69/week @ 2024-06-03 32/week @ 2024-06-10 100/week @ 2024-06-17 94/week @ 2024-06-24 26/week @ 2024-07-01 22/week @ 2024-07-08 25/week @ 2024-07-15 23/week @ 2024-07-29 12/week @ 2024-08-05

61 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

~43KB