last-rs

Crates.iolast-rs
lib.rslast-rs
version0.2.1
sourcesrc
created_at2022-09-01 18:33:43.364693
updated_at2022-09-01 18:34:40.938186
descriptionA Rust reimplementation of the util-linux last command.
homepage
repositoryhttps://github.com/MarcelRobitaille/last-rs
max_upload_size
id656956
size17,960
Marcel Robitaille (MarcelRobitaille)

documentation

README

last.rs

A Rust reimplementation of the util-linux last command.

This is NOT intended as a replacement for last.c. It is mostly a library to provide last-like output to other Rust project. It is also an example of how to use utmp-rs.

NOT yet feature compatible with last.c. Right now, the output is kind of like last <username>, and no options or flags are supported.

Acknowledgements

Thank you to utmp-rs for doing the hard work of parsing /var/log/wtmp and making my life easy.

Commit count: 15

cargo fmt