Crates.io | fancy_sys_info |
lib.rs | fancy_sys_info |
version | 0.1.2 |
source | src |
created_at | 2024-09-23 18:07:17.626755 |
updated_at | 2024-09-23 18:17:30.987659 |
description | fancy system info library. |
homepage | |
repository | |
max_upload_size | |
id | 1384341 |
size | 18,643 |
A Rust library that provides system information such as memory usage and CPU statistics, along with a fancy terminal user interface (TUI) for displaying this information.
tui
and crossterm
.cargo
for building and managing the projectTo use this library in your Rust project, add the following to your Cargo.toml
:
[dependencies]
fancy-sys-info = "0.1.0" # Replace with the latest version
// src/bin/main.rs
use fancy_sys_info::run;
fn main() {
if let Err(err) = run() {
eprintln!("Error: {}", err);
}
}