3 releases (breaking)
new 0.3.0 | Jan 7, 2025 |
---|---|
0.2.0 | Jan 7, 2025 |
0.1.0 | Jan 7, 2025 |
#1 in #dmi
30 downloads per month
11KB
294 lines
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.