envs

Crates.ioenvs
lib.rsenvs
version
sourcesrc
created_at2024-10-29 04:17:00.527103
updated_at2024-12-07 06:46:17.456035
description📦 A Rust library for detecting various system environments, including virtualization, containers, OS types, and more.
homepagehttps://github.com/lvillis/envs
repositoryhttps://github.com/lvillis/envs
max_upload_size
id1426486
Cargo.toml error:TOML parse error at line 36, column 1 | 36 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include`
size0
(lvillis)

documentation

https://github.com/lvillis/envs/blob/main/README.md

README

Table of Contents↗️

envs

📦 A Rust library for detecting various system environments, including virtualization, containers, OS types, and more.

crates.io version crates.io version build status say thanks

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);
}
Commit count: 13

cargo fmt