Releases: tuna-f1sh/cyme
Releases · tuna-f1sh/cyme
v1.7.0
v1.6.1
Minor update before some bigger changes
Fixes
- Replace font-awesome icons in default look-up that have been deprecated.
v1.6.0
A release of patches, PRs and merges :), thanks to support
Added
- Support udev/sysfs iString lookup (#14) (@haata).
- Add fully defined USB Device based on class code triplet.
- Support bLength, wTotalLength and bDescriptorType fields in
lsusb --verbose
with (rusb/#185). This completes thelsusb --verbose
support apart from extra descriptors (WIP: #15). - Add
lsusb::names
mod that ports 'usbutils/names.c' to match the behaviour usinglsusb --verbose
. This means class, sub-class and protocol udev-hwdb names are included now inlsusb --verbose
(b99e87). - Add the display blocks
uid-class
,uid-subc-lass
,uid-protocol
,class
, andclass-value
forDeviceBlock
s andInterfaceBlock
s. These are also added for--more
. - Add
feature=udev_hwdb
to guard against systems that have udev but not hwdb support (cross/#1377)/(libudev-sys/#16).
Changed
- 'usb-ids' crate is now a dependency rather than optional to support
lsusb::names
lookup without udev_hwdb (non-Linux). (usb-ids.rs/#50) will add extra descriptor parsing in future. - iString descriptors will now be retrieved in order libusb descriptor -> sysfs cache (Linux) -> udev_hwdb (bundled usb-ids
--feature=udev_hwdb
) -> usb-ids.
Fixes
- Fix ClassCode as u8 in lsusb --verbose being enum index not repr(c) base class byte.
- Fix ClassCode as u8 in icon serializer being enum index not repc(c) base class byte.
v1.5.2
- Debian package as part of GitHub action release.
cargo update
, fix some new compiler and clippy warnings.
v1.5.0
- Control output encoding support with
--encoding
:glyph
[default] UTF-8 with private use area icons such as those used by NerdFonts;utf8
only standard UTF-8 without private use area;ascii
only ascii characters. Designed to replace the--ascii
arg, this remains but hidden. - Colour control made similar to other programs with
--color
/--colour
:auto
[default] show colours if the output goes to an interactive console;always
always use colour escape codes;never
never use colouring.--no-color
remains but is hidden and one can also still use theNO_COLOR
env. - Icon control for pairing with
--encoding
,--icon
:auto
[default] show icon blocks if the--encoding
supports icons matched in the icon theme;always
always show icons if included in icon blocks;never
never print icon blocks. There is also the hidden--no-icons
to drop the icon theme completely. - Updates to Cargo packages.
v1.4.0
* Crate now has error type * Fix default icon for specialized
v1.3.1
- Added max-variable-string-len config key that will truncate variable strings (descriptors, classes etc.) > this value with '...' to indicate truncation.
- With addition of this, added auto-width scaling based on terminal width to find the max string len to fit terminal width. It's not perfect as value is shared between long fields but helps a lot. It can be disabled with 'no-auto-width' config key.
- #9 stopped printing to stderr during profiling with libusb for non-critical errors. Can be restored with CYME_PRINT_NON_CRITICAL_PROFILER_STDERR or same config key.
- Fixes and improvements to how padding is generated to keep alignment.
v1.2.9
fix #7; workflow builds universal binary
v1.2.8
fix #6; conifg type, no stderr if no sys config
v1.2.7
fallback to libusb if system_profiler returns non-zero not parsing error