Crate cyme

source ·
Expand description

List system USB buses and devices; a modern lsusb that attempts to maintain compatibility with, but also add new features. Includes a macOS system_profiler parser module and lsusb for non-macOS systems/gathering more verbose information.

Modules

Colouring of cyme output
Config for cyme binary
Provides the main utilities to display USB types within this crate - primarily used by cyme binary.
Icons and themeing of cyme output
Originally based on libusb list_devices.rs example, attempts to mimic lsusb output and provide cross-platform crate::system_profiler::SPUSBDataType getter
Parser for macOS system_profiler command -json output with SPUSBDataType.
Types used in crate non-specific to a module
Defines for USB, mainly thosed covered at usb.org

Functions

Set cyme module and binary log level