1 unstable release

Uses old Rust 2015

0.0.1 Jan 14, 2017

#99 in #libc

Download history 186/week @ 2024-11-16 50/week @ 2024-11-23 150/week @ 2024-11-30 214/week @ 2024-12-07 112/week @ 2024-12-14 5/week @ 2024-12-28 10/week @ 2025-01-04 75/week @ 2025-01-11 115/week @ 2025-01-18 66/week @ 2025-01-25 172/week @ 2025-02-01 145/week @ 2025-02-08 131/week @ 2025-02-15 119/week @ 2025-02-22 124/week @ 2025-03-01

542 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