Skip to main content

retch_cli/
lib.rs

1// SPDX-FileCopyrightText: 2026 Ken Tobias
2// SPDX-License-Identifier: GPL-3.0-or-later
3
4//! # retch
5//!
6//! A fast, feature-rich system information fetcher written in Rust.
7//! Similar to tools like `fastfetch` or `neofetch`.
8//!
9//! This crate provides both a CLI binary (`retch`) and a library interface
10//! for fetching and displaying system information.
11
12pub mod fetch {
13    //! System information gathering.
14    //!
15    //! This module re-exports the system information types and collection logic
16    //! from the `retch-sysinfo` crate.
17
18    pub use retch_sysinfo::fetch::{CollectOptions, SystemInfo};
19}
20
21pub mod gpu {
22    //! GPU detection and identification.
23    //!
24    //! This module re-exports the GPU detection logic from the `retch-sysinfo` crate.
25
26    pub use retch_sysinfo::gpu::*;
27}
28
29pub mod weather {
30    pub use retch_sysinfo::weather::WeatherUnit;
31}
32
33pub mod cli;
34pub mod config;
35pub mod display;
36pub mod fields;
37pub mod logo;
38pub mod theme;