modkit_node_info/lib.rs
1#![cfg_attr(coverage_nightly, feature(coverage_attribute))]
2//! Node Information Library
3//!
4//! This library provides system information collection for the current node
5//! where the code is executed. It collects:
6//! - System information (OS, CPU, memory, GPU, battery, host)
7//! - System capabilities (hardware and OS capabilities)
8//!
9//! This is a standalone library that can be used by any module to collect
10//! information about the current execution environment.
11
12mod hardware_uuid;
13mod syscap_collector;
14mod sysinfo_collector;
15
16// Platform-specific GPU collectors
17#[cfg(target_os = "linux")]
18mod gpu_collector_linux;
19#[cfg(target_os = "macos")]
20mod gpu_collector_macos;
21#[cfg(target_os = "windows")]
22mod gpu_collector_windows;
23
24pub mod error;
25pub mod model;
26
27mod collector;
28
29pub use collector::NodeInfoCollector;
30pub use error::NodeInfoError;
31pub use hardware_uuid::get_hardware_uuid;
32pub use model::*;