| Crates.io | last-rs |
| lib.rs | last-rs |
| version | 0.2.2 |
| created_at | 2022-09-01 18:33:43.364693+00 |
| updated_at | 2025-06-17 23:11:01.842959+00 |
| description | A Rust reimplementation of the util-linux last command. |
| homepage | |
| repository | https://github.com/MarcelRobitaille/last-rs |
| max_upload_size | |
| id | 656956 |
| size | 21,703 |
last.rsA Rust reimplementation of the
util-linuxlastcommand.
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.
Thank you to utmp-rs for doing the hard work of parsing /var/log/wtmp and making my life easy.