6 releases
0.2.3 | Dec 7, 2024 |
---|---|
0.2.2 | Dec 6, 2024 |
0.2.1 | Nov 18, 2024 |
0.1.1 | Oct 29, 2024 |
#506 in Filesystem
477 downloads per month
Used in envs-cli
28KB
556 lines
Table of Contents↗️
envs
📦 A Rust library for detecting various system environments, including virtualization, containers, OS types, and more.
Usage
Add this to your Cargo.toml
:
[dependencies]
envs = "0.2.2"
use envs::get_environment_info;
fn main() {
let info = get_environment_info();
println!("{:?}", info);
}