smbioslib/
lib.rs

1//! SMBIOS Library
2//!
3//! Implements the DMTF [System Management BIOS (SMBIOS) Reference Specification 3.5.0](https://www.dmtf.org/sites/default/files/standards/documents/DSP0134_3.5.0.pdf).
4//!
5//! This library focuses on the tasks involved with reading and interpreting
6//! BIOS data.
7
8#![warn(missing_docs)]
9#![deny(rust_2018_idioms)]
10
11mod core;
12mod file_io;
13mod macos;
14mod structs;
15mod unix;
16mod windows;
17
18pub use structs::*;
19
20pub use crate::core::*;
21pub use file_io::*;
22
23#[cfg(target_family = "windows")]
24pub use windows::{load_windows_smbios_data, raw_smbios_from_device, table_load_from_device};
25
26pub use windows::WinSMBiosData;
27
28#[cfg(any(target_os = "linux", target_os = "android", target_os = "freebsd"))]
29pub use unix::*;
30
31#[cfg(any(target_os = "macos", target_os = "ios"))]
32pub use macos::*;