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 0 | 0 | 0 | 0 |
| 2.0.4 | 0 | 0 | 0 | 0 | 0 |
| 2.0.3 | 0 | 0 | 0 | 0 | 0 |
| 2.0.2 | 0 | 0 | 0 | 0 | 0 |
| 2.0.1 | 0 | 0 | 0 | 0 | 0 |
| 2.0.0 | 0 | 0 | 0 | 0 | 0 |
| 1.3.3 | 0 | 0 | 0 | 0 | 0 |
| 1.3.2 | 0 | 0 | 0 | 0 | 0 |
| 1.3.1 | 0 | 0 | 0 | 0 | 0 |
| 1.3.0 | 0 | 0 | 0 | 0 | 0 |
| 1.2.0 | 0 | 0 | 0 | 0 | 0 |
| 1.1.3 | 0 | 0 | 0 | 0 | 0 |
| 1.1.2 | 0 | 0 | 0 | 0 | 0 |
| 1.1.1 | 0 | 0 | 0 | 0 | 0 |
| 1.1.0 | 0 | 0 | 0 | 0 | 0 |
| 1.0.3 | 0 | 0 | 0 | 0 | 0 |
| 1.0.2 | 0 | 0 | 0 | 0 | 0 |
| 1.0.1 | 0 | 0 | 0 | 0 | 0 |
| 1.0.0 | 0 | 0 | 0 | 0 | 0 |
| 0.7.0 | 0 | 0 | 0 | 0 | 0 |
| 0.6.0 | 0 | 0 | 0 | 0 | 0 |
| 0.5.0 | 0 | 0 | 0 | 0 | 0 |
| 0.4.0 | 0 | 0 | 0 | 0 | 0 |
| 0.3.0 | 0 | 0 | 0 | 0 | 0 |
| 0.2.0 | 0 | 0 | 0 | 0 | 0 |
| 0.1.1 | 0 | 0 | 0 | 0 | 0 |
| 0.1.0 | 0 | 0 | 0 | 0 | 0 |
3.14.0 - This version is safe to use because it has no known security vulnerabilities at this time. Find out if your coding project uses this component and get notified of any reported security vulnerabilities with Meterian-X Open Source Security Platform
Maintain your licence declarations and avoid unwanted licences to protect your IP the way you intended.
MIT - MIT LicenseThis project consists of two parts: the library that can be used to detect the operating system type (including version and bitness) and the command line tool that uses the library.
To use this crate, add os_info as a dependency to your project's Cargo.toml:
[dependencies]
os_info = "3"This project has serde as an optional dependency, so if you don't need it, then
you can speed up compilation disabling it:
[dependencies]
os_info = { version = "3", default-features = false }let info = os_info::get();
// Print full information:
println!("OS information: {info}");
// Print information separately:
println!("Type: {}", info.os_type());
println!("Version: {}", info.version());
println!("Bitness: {}", info.bitness());
println!("Architecture: {}", info.architecture());A simple wrapper around the os_info library.
This tool can be installed using the following cargo command:
cargo install os_info_cliDespite being named os_info_cli during installation, it is actually named
os_info. You can use the --help flag to see available options:
os_info --helpRight now, the following operating system types can be returned:
If you need support for more OS types, I am looking forward to your Pull Request.
os_info is licensed under the MIT license. See LICENSE for the details.