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:
parent
07d9bb1691
commit
b475b5809f
|
@ -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": "๐ ",
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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 = "๏ "
|
||||
|
|
|
@ -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 "
|
||||
|
|
|
@ -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 = "๐ "
|
||||
|
|
|
@ -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 => "๐ ",
|
||||
|
|
|
@ -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 => "๐ ",
|
||||
|
|
Loadingโฆ
Reference in New Issue