xtop-0.2.2 is not a library.
xtop
System monitor written in Rust using terminal user interface (TUI). Fast, nice-looking, informative, and easy to use. Works in Linux and MacOS (Windows not tested). One-key sorting of processes by process id, name, cpu usage, and memory usage. Search/filter by process name or process id.
Build
In suitable directory, run
git clone https://github.com/mabognar/xtop
cd xtop
cargo install --path .
xtop