Expand description
§retch-sysinfo
System information gathering library for retch.
Provides cross-platform hardware and OS detection, GPU identification,
battery status, and environment probing. Extracted from the retch-cli
binary to allow reuse as a standalone library.
§Modules
audio— Audio server and device detection.battery— Cross-platform battery status detection.bios— BIOS / firmware version detection.bluetooth— Bluetooth controller state and connected device detection.camera— Camera and webcam detection.display— Display detection and EDID parsing.gamepad— Gamepad and joystick controller detection.gpu— GPU detection and PCI ID lookup.gpu_api— Vulkan, OpenGL and OpenCL API version detection.input— Keyboard and pointing-device detection.io— Disk and network I/O throughput sampling.disk— Physical disk model, size, and type detection.media— Active media player and currently playing track detection.memory— Physical memory (RAM) slot detection.motherboard— Motherboard / system model detection.network— Network interface detection, IP resolution, and Wi-Fi.packages— Installed package count detection.shell— Shell detection and version querying.terminal— Terminal emulator detection and font configuration reading.theme— UI theme, icon, cursor, and font detection.weather— Weather information via Open-Meteo.wm— Window manager detection.fetch— Full system information gathering (SystemInfo,CollectOptions).
Re-exports§
pub use fetch::CollectOptions;pub use fetch::SystemInfo;
Modules§
- audio
- Audio server and device detection.
- battery
- bios
- BIOS / firmware version detection.
- bluetooth
- Bluetooth controller state and connected device detection.
- btrfs
- Btrfs filesystem detection — label, subvolume, and space allocation for mounted btrfs volumes.
- camera
- Camera and webcam detection.
- disk
- Physical disk detection (model, size, type) and logical disk space reporting.
- display
- Display detection and EDID parsing.
- fetch
- System information gathering.
- gamepad
- Gamepad and joystick controller detection.
- gpu
- GPU detection and identification.
- gpu_api
- Graphics and compute API versions: Vulkan, OpenGL and OpenCL.
- input
- Keyboard and pointing-device detection.
- io
- Disk and network I/O throughput sampling.
- media
- Active media player and currently playing track detection.
- memory
- Physical memory (RAM) slot detection — type, speed, and capacity.
- motherboard
- Motherboard / system model detection.
- network
- Network interface detection, IP resolution, Wi-Fi, and related helpers.
- packages
- Installed package count detection.
- shell
- Shell detection and version querying.
- terminal
- Terminal emulator detection and font configuration reading.
- theme
- UI theme, icon, cursor, and font detection.
- weather
- Weather information via Open-Meteo (forecast) and Open-Meteo geocoding / ipinfo.io.
- wm
- Window manager detection.
- zfs
- ZFS storage pool detection via
zpool list.