Skip to main content

Crate elinux_hwdetect

Crate elinux_hwdetect 

Source
Expand description

A production-ready Rust crate for Embedded Linux hardware detection.

This crate provides a unified interface to detect various hardware components and system information on Embedded Linux devices by reading read-only interfaces like /proc, /sys, and /dev.

The detection is designed to be robust, non-intrusive, and work on minimal BusyBox-based systems without requiring root privileges.

Re-exports§

pub use error::HwDetectError;
pub use error::Result;
pub use os::OsInfo;
pub use cpu::CpuInfo;
pub use board::BoardInfo;
pub use peripherals::PeripheralInfo;
pub use devicetree::DeviceTree;

Modules§

board
cpu
devicetree
error
os
peripherals

Structs§

HardwareInfo
The main structure holding all detected hardware and system information.

Type Aliases§

Error