attodmi 0.3.0

Extremely simple code for partially decoding certain kinds of DMI entries from /sys/firmware/dmi/entries
Documentation
  • Coverage
  • 34.04%
    16 out of 47 items documented1 out of 15 items with examples
  • Size
  • Source code size: 22.71 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 3.79 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 10s Average build duration of successful builds.
  • all releases: 9s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • berke/attodmi
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • berke

attodmi

Extremely short code for decoding type 1 and 2 DMI entries from /sys/firmware/dmi/entries (these are Linux sysfs entries)

  • No dependencies
  • Partial decoding of type 1 (System Information) and type 2 (Base Board Information) entries

Use this only if you need to decode some fields from those types of entries with a minimal footprint.

For more serious decoding, see the following crates:

  • dmidecode
  • dmidecode-rs
  • smbios-lib

Test data

Under data/ there are some test files for entries of types 1, 2 and 3.

Repository

https://github.com/berke/attodmi

Changes

  • 0.3.0 - Add ChassisInformation, .from_sysfs and .from_instance methods, add some documentation.