fancy_sys_info

Crates.iofancy_sys_info
lib.rsfancy_sys_info
version0.1.2
sourcesrc
created_at2024-09-23 18:07:17.626755
updated_at2024-09-23 18:17:30.987659
description fancy system info library.
homepage
repository
max_upload_size
id1384341
size18,643
(randomusert)

documentation

README

Fancy Sys Info

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.

Features

  • Retrieve system memory and CPU usage statistics.
  • Interactive TUI built with tui and crossterm.
  • Supports displaying system info in a user-friendly format.
  • Easy to integrate into your Rust projects.

Requirements

  • Rust (1.50.0 or later)
  • cargo for building and managing the project

Installation

To 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

example

// src/bin/main.rs
use fancy_sys_info::run;

fn main() {
    if let Err(err) = run() {
        eprintln!("Error: {}", err);
    }
}
Commit count: 0

cargo fmt