Crate devs

Source
Expand description

Linux device discovery library.

At the moment it can enumerate connected devices and provide their sysfs device paths. In the future, it may have more features for filtering and inspecting devices.

§Example

let devices = devs::scan().expect("failed to scan for devices");
assert!(devices.len() > 0);

Structs§

Device
Handle for a connected device.

Functions§

scan
Scan the Linux sysfs for devices.