5 releases

new 0.2.1 Nov 27, 2021
0.2.0 Nov 27, 2021
0.1.2 Nov 21, 2021
0.1.1 Feb 9, 2020
0.1.0 Feb 9, 2020

#205 in Unix APIs

Download history 6/week @ 2021-08-10 2/week @ 2021-08-17 5/week @ 2021-08-24 2/week @ 2021-09-07 6/week @ 2021-09-14 153/week @ 2021-09-21 146/week @ 2021-09-28 8/week @ 2021-10-05 24/week @ 2021-10-12 22/week @ 2021-10-19 7/week @ 2021-10-26 3/week @ 2021-11-02 2/week @ 2021-11-09 19/week @ 2021-11-16 42/week @ 2021-11-23

66 downloads per month

MIT license

16KB
314 lines

utmp-rs

Crates.io Docs

Rust crate for parsing utmp files like /var/run/utmp and /var/log/wtmp.

Usage

fn main() -> Result<()> {
    let entries = utmp_rs::parse_from_path("/var/run/utmp")?;
    // ...
}

Dependencies

~1.5–2MB
~32K SLoC

a