summaryrefslogtreecommitdiffstats
path: root/vendor/os_info/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/os_info/README.md')
-rw-r--r--vendor/os_info/README.md7
1 files changed, 5 insertions, 2 deletions
diff --git a/vendor/os_info/README.md b/vendor/os_info/README.md
index a47049435..6e34f2df6 100644
--- a/vendor/os_info/README.md
+++ b/vendor/os_info/README.md
@@ -12,7 +12,7 @@
**Project details:**
[![LoC](https://tokei.rs/b1/github/stanislav-tkach/os_info)](https://github.com/stanislav-tkach/os_info)
-![Rust 1.41+ required](https://img.shields.io/badge/rust-1.41+-blue.svg?label=Required%20Rust)
+![Rust 1.60+ required](https://img.shields.io/badge/rust-1.41+-blue.svg?label=Required%20Rust)
## Overview
@@ -45,12 +45,13 @@ os_info = { version = "3", default-features = false }
let info = os_info::get();
// Print full information:
-println!("OS information: {}", info);
+println!("OS information: {info}");
// Print information separately:
println!("Type: {}", info.os_type());
println!("Version: {}", info.version());
println!("Bitness: {}", info.bitness());
+println!("Architecture: {}", info.architecture());
```
### Command line tool (`os_info_cli`)
@@ -78,10 +79,12 @@ os_info --help
Right now, the following operating system types can be returned:
+- Alpaquita Linux
- Alpine Linux
- Amazon Linux AMI
- Android
- Arch Linux
+- Artix Linux
- CentOS
- Debian
- DragonFly BSD