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 cli;
30pub mod config;
31pub mod display;
32pub mod logo;
33pub mod theme;