https://github.com/lvillis/envs
📦 A Rust library for detecting various system environments, including virtualization, containers, OS types, and more.
https://github.com/lvillis/envs
env environment rust
Last synced: 4 months ago
JSON representation
📦 A Rust library for detecting various system environments, including virtualization, containers, OS types, and more.
- Host: GitHub
- URL: https://github.com/lvillis/envs
- Owner: lvillis
- License: mit
- Created: 2024-10-29T01:58:33.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2025-01-18T01:20:57.000Z (5 months ago)
- Last Synced: 2025-01-18T02:28:05.164Z (5 months ago)
- Topics: env, environment, rust
- Language: Rust
- Homepage: https://docs.rs/envs/latest/envs/
- Size: 33.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
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`:
```toml
[dependencies]
envs = "0.2.3"
``````rust
use envs::get_environment_info;fn main() {
let info = get_environment_info();
println!("{:?}", info);
}
```