1 unstable release

Uses old Rust 2015

0.0.1 Jan 14, 2017

#85 in #libc

Download history 298/week @ 2024-01-29 119/week @ 2024-02-05 33/week @ 2024-02-12 176/week @ 2024-02-19 213/week @ 2024-02-26 129/week @ 2024-03-04 66/week @ 2024-03-11 25/week @ 2024-03-18 50/week @ 2024-03-25 188/week @ 2024-04-01 30/week @ 2024-04-08 144/week @ 2024-04-15 14/week @ 2024-04-22 44/week @ 2024-04-29 50/week @ 2024-05-06 37/week @ 2024-05-13

148 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