sinf 0.1.0

Library for obtaining in-depth system information at both the hardware and software levels
Documentation
#[cfg(any(
    windows,
    target_os = "linux",
    target_os = "android",
    target_os = "macos",
    target_os = "ios",
))]
mod ids;

/// Returns the vendor name for the given PCI vendor ID.
#[cfg(any(
    windows,
    target_os = "linux",
    target_os = "android",
    target_os = "macos",
    target_os = "ios",
))]
pub(crate) fn gpu_vendor_name(vendor_id: u32) -> Option<&'static str> {
    ids::lookup(vendor_id)
}

#[cfg(all(
    test,
    any(
        windows,
        target_os = "linux",
        target_os = "android",
        target_os = "macos",
        target_os = "ios",
    ),
))]
mod tests;