Table of Contents↗️
📦 A Rust library for detecting various system environments, including virtualization, containers, OS types, and more.
Add this to your Cargo.toml
:
[dependencies]
envs = "0.1.0"
use envs::get_environment_info;
fn main() {
let info = get_environment_info();
println!("{:?}", info);
}