Skip to content

Releases: tuna-f1sh/cyme

v1.6.1

13 Jun 13:12
Compare
Choose a tag to compare

Minor update before some bigger changes

Fixes

  • Replace font-awesome icons in default look-up that have been deprecated.

v1.6.0

25 Nov 12:52
Compare
Choose a tag to compare

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 the lsusb --verbose support apart from extra descriptors (WIP: #15).
  • Add lsusb::names mod that ports 'usbutils/names.c' to match the behaviour using lsusb --verbose. This means class, sub-class and protocol udev-hwdb names are included now in lsusb --verbose (b99e87).
  • Add the display blocks uid-class, uid-subc-lass, uid-protocol, class, and class-value for DeviceBlocks and InterfaceBlocks. 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

29 Oct 15:50
Compare
Choose a tag to compare
  • Debian package as part of GitHub action release.
  • cargo update, fix some new compiler and clippy warnings.

v1.5.0

09 Aug 07:22
Compare
Choose a tag to compare
  • 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 the NO_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

19 Apr 07:35
Compare
Choose a tag to compare
* Crate now has error type

* Fix default icon for specialized

v1.3.1

27 Feb 15:26
Compare
Choose a tag to compare
  • 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

21 Feb 07:16
Compare
Choose a tag to compare
fix #7; workflow builds universal binary

v1.2.8

11 Feb 06:29
Compare
Choose a tag to compare
fix #6; conifg type, no stderr if no sys config

v1.2.7

31 Jan 16:04
Compare
Choose a tag to compare
fallback to libusb if system_profiler returns non-zero not parsing error

v1.2.6

25 Jan 15:29
Compare
Choose a tag to compare
fix #3; deserialize with default args for all config fields