Get system information in Rust, supporting Linux, macOS, illumos, Solaris, FreeBSD, OpenBSD, and Windows.
# Cargo.toml
[dependencies]
sys-info = "0.9.1"No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Retrieves and prints the OS type and hostname.
No known issues recorded.
No dependency data recorded yet.