sinf 0.1.0

Library for obtaining in-depth system information at both the hardware and software levels
Documentation
#![cfg(feature = "component")]

use std::env::var;

mod common;

#[test]
fn test_components() {
    let Some(mut c) = common::skip_unsupported(sinf::component::Components::new()) else {
        return;
    };
    assert!(c.is_empty());

    // Components cannot be retrieved in CI.
    if cfg!(windows) || var("CI").is_ok() {
        return;
    }

    c.refresh(false);
    assert!(!c.is_empty());
}