build(deps): update rust crate os_info to 3.7.0 (#5057)

* build(deps): update rust crate os_info to 3.7.0

* add new os symbols

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This commit is contained in:
David Knaack 2023-04-10 13:07:30 +02:00 committed by GitHub
parent 07d9bb1691
commit b475b5809f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 24 additions and 4 deletions

View File

@ -1121,10 +1121,12 @@
"format": "[$symbol]($style)",
"style": "bold white",
"symbols": {
"Alpaquita": "๐Ÿ”” ",
"Alpine": "๐Ÿ”๏ธ ",
"Amazon": "๐Ÿ™‚ ",
"Android": "๐Ÿค– ",
"Arch": "๐ŸŽ—๏ธ ",
"Artix": "๐ŸŽ—๏ธ ",
"CentOS": "๐Ÿ’  ",
"Debian": "๐ŸŒ€ ",
"DragonFly": "๐Ÿ‰ ",
@ -1137,6 +1139,7 @@
"HardenedBSD": "๐Ÿ›ก๏ธ ",
"Illumos": "๐Ÿฆ ",
"Linux": "๐Ÿง ",
"Mabox": "๐Ÿ“ฆ ",
"Macos": "๐ŸŽ ",
"Manjaro": "๐Ÿฅญ ",
"Mariner": "๐ŸŒŠ ",
@ -4377,10 +4380,12 @@
},
"symbols": {
"default": {
"Alpaquita": "๐Ÿ”” ",
"Alpine": "๐Ÿ”๏ธ ",
"Amazon": "๐Ÿ™‚ ",
"Android": "๐Ÿค– ",
"Arch": "๐ŸŽ—๏ธ ",
"Artix": "๐ŸŽ—๏ธ ",
"CentOS": "๐Ÿ’  ",
"Debian": "๐ŸŒ€ ",
"DragonFly": "๐Ÿ‰ ",
@ -4393,6 +4398,7 @@
"HardenedBSD": "๐Ÿ›ก๏ธ ",
"Illumos": "๐Ÿฆ ",
"Linux": "๐Ÿง ",
"Mabox": "๐Ÿ“ฆ ",
"Macos": "๐ŸŽ ",
"Manjaro": "๐Ÿฅญ ",
"Mariner": "๐ŸŒŠ ",

4
Cargo.lock generated
View File

@ -2012,9 +2012,9 @@ dependencies = [
[[package]]
name = "os_info"
version = "3.6.0"
version = "3.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5c424bc68d15e0778838ac013b5b3449544d8133633d8016319e7e05a820b8c0"
checksum = "006e42d5b888366f1880eda20371fedde764ed2213dc8496f49622fa0c99cd5e"
dependencies = [
"log",
"serde",

View File

@ -60,7 +60,7 @@ nu-ansi-term = "0.47.0"
once_cell = "1.17.1"
open = "4.0.1"
# update os module config and tests when upgrading os_info
os_info = "3.6.0"
os_info = "3.7.0"
path-slash = "0.2.1"
pest = "2.5.7"
pest_derive = "2.5.7"

View File

@ -74,10 +74,12 @@ symbol = "๏Œ“ "
symbol = "๎œ˜ "
[os.symbols]
Alpaquita = "๎ชข "
Alpine = "๏Œ€ "
Amazon = "๏‰ฐ "
Android = "๏…ป "
Arch = "๏Œƒ "
Artix = "๏ŒŸ "
CentOS = "๏Œ„ "
Debian = "๏Œ† "
DragonFly = "๎ŠŽ "
@ -90,6 +92,7 @@ Gentoo = "๏Œ "
HardenedBSD = "๏ฒŠ "
Illumos = "๏œท "
Linux = "๏Œš "
Mabox = "๎ฌฉ "
Macos = "๏Œ‚ "
Manjaro = "๏Œ’ "
Mariner = "๏‡ "

View File

@ -119,10 +119,12 @@ symbol = "ml "
symbol = "opa "
[os.symbols]
Alpaquita = "alq "
Alpine = "alp "
Amazon = "amz "
Android = "andr "
Arch = "rch "
Artix = "atx "
CentOS = "cent "
Debian = "deb "
DragonFly = "dfbsd "
@ -135,6 +137,7 @@ Gentoo = "gent "
HardenedBSD = "hbsd "
Illumos = "lum "
Linux = "lnx "
Mabox = "mbox "
Macos = "mac "
Manjaro = "mjo "
Mariner = "mrn "

View File

@ -3004,10 +3004,12 @@ If you would like an operating system to be added, feel free to open a [feature
```toml
# This is the default symbols table.
[os.symbols]
Alpaquita = "๐Ÿ”” "
Alpine = "๐Ÿ”๏ธ "
Amazon = "๐Ÿ™‚ "
Android = "๐Ÿค– "
Arch = "๐ŸŽ—๏ธ "
Artix = "๐ŸŽ—๏ธ "
CentOS = "๐Ÿ’  "
Debian = "๐ŸŒ€ "
DragonFly = "๐Ÿ‰ "
@ -3020,6 +3022,7 @@ Gentoo = "๐Ÿ—œ๏ธ "
HardenedBSD = "๐Ÿ›ก๏ธ "
Illumos = "๐Ÿฆ "
Linux = "๐Ÿง "
Mabox = "๐Ÿ“ฆ "
Macos = "๐ŸŽ "
Manjaro = "๐Ÿฅญ "
Mariner = "๐ŸŒŠ "

View File

@ -28,10 +28,12 @@ impl<'a> Default for OSConfig<'a> {
format: "[$symbol]($style)",
style: "bold white",
symbols: indexmap! {
Type::Alpaquita => "๐Ÿ”” ",
Type::Alpine => "๐Ÿ”๏ธ ",
Type::Amazon => "๐Ÿ™‚ ",
Type::Android => "๐Ÿค– ",
Type::Arch => "๐ŸŽ—๏ธ ",
Type::Artix => "๐ŸŽ—๏ธ ",
Type::CentOS => "๐Ÿ’  ",
Type::Debian => "๐ŸŒ€ ",
Type::DragonFly => "๐Ÿ‰ ",
@ -44,6 +46,7 @@ impl<'a> Default for OSConfig<'a> {
Type::HardenedBSD => "๐Ÿ›ก๏ธ ",
Type::Illumos => "๐Ÿฆ ",
Type::Linux => "๐Ÿง ",
Type::Mabox => "๐Ÿ“ฆ ",
Type::Macos => "๐ŸŽ ",
Type::Manjaro => "๐Ÿฅญ ",
Type::Mariner => "๐ŸŒŠ ",

View File

@ -331,10 +331,11 @@ mod tests {
// - dosc/.vuepress/public/presets/toml/nerd-font-symbols.toml
// - .github/config-schema.json
let _ = |t: Type| match t {
Type::Alpaquita => "๐Ÿ”” ",
Type::Alpine => "๐Ÿ”๏ธ ",
Type::Amazon => "๐Ÿ™‚ ",
Type::Android => "๐Ÿค– ",
Type::Arch => "๐ŸŽ—๏ธ ",
Type::Arch | Type::Artix => "๐ŸŽ—๏ธ ",
Type::CentOS => "๐Ÿ’  ",
Type::Debian => "๐ŸŒ€ ",
Type::DragonFly => "๐Ÿ‰ ",
@ -347,6 +348,7 @@ mod tests {
Type::HardenedBSD => "๐Ÿ›ก๏ธ ",
Type::Illumos => "๐Ÿฆ ",
Type::Linux => "๐Ÿง ",
Type::Mabox => "๐Ÿ“ฆ ",
Type::Macos => "๐ŸŽ ",
Type::Manjaro => "๐Ÿฅญ ",
Type::Mariner => "๐ŸŒŠ ",