mirror of
https://github.com/Llewellynvdm/starship.git
synced 2024-12-25 11:20:01 +00:00
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
6
.github/config-schema.json
vendored
6
.github/config-schema.json
vendored
@ -1121,10 +1121,12 @@
|
|||||||
"format": "[$symbol]($style)",
|
"format": "[$symbol]($style)",
|
||||||
"style": "bold white",
|
"style": "bold white",
|
||||||
"symbols": {
|
"symbols": {
|
||||||
|
"Alpaquita": "🔔 ",
|
||||||
"Alpine": "🏔️ ",
|
"Alpine": "🏔️ ",
|
||||||
"Amazon": "🙂 ",
|
"Amazon": "🙂 ",
|
||||||
"Android": "🤖 ",
|
"Android": "🤖 ",
|
||||||
"Arch": "🎗️ ",
|
"Arch": "🎗️ ",
|
||||||
|
"Artix": "🎗️ ",
|
||||||
"CentOS": "💠 ",
|
"CentOS": "💠 ",
|
||||||
"Debian": "🌀 ",
|
"Debian": "🌀 ",
|
||||||
"DragonFly": "🐉 ",
|
"DragonFly": "🐉 ",
|
||||||
@ -1137,6 +1139,7 @@
|
|||||||
"HardenedBSD": "🛡️ ",
|
"HardenedBSD": "🛡️ ",
|
||||||
"Illumos": "🐦 ",
|
"Illumos": "🐦 ",
|
||||||
"Linux": "🐧 ",
|
"Linux": "🐧 ",
|
||||||
|
"Mabox": "📦 ",
|
||||||
"Macos": "🍎 ",
|
"Macos": "🍎 ",
|
||||||
"Manjaro": "🥭 ",
|
"Manjaro": "🥭 ",
|
||||||
"Mariner": "🌊 ",
|
"Mariner": "🌊 ",
|
||||||
@ -4377,10 +4380,12 @@
|
|||||||
},
|
},
|
||||||
"symbols": {
|
"symbols": {
|
||||||
"default": {
|
"default": {
|
||||||
|
"Alpaquita": "🔔 ",
|
||||||
"Alpine": "🏔️ ",
|
"Alpine": "🏔️ ",
|
||||||
"Amazon": "🙂 ",
|
"Amazon": "🙂 ",
|
||||||
"Android": "🤖 ",
|
"Android": "🤖 ",
|
||||||
"Arch": "🎗️ ",
|
"Arch": "🎗️ ",
|
||||||
|
"Artix": "🎗️ ",
|
||||||
"CentOS": "💠 ",
|
"CentOS": "💠 ",
|
||||||
"Debian": "🌀 ",
|
"Debian": "🌀 ",
|
||||||
"DragonFly": "🐉 ",
|
"DragonFly": "🐉 ",
|
||||||
@ -4393,6 +4398,7 @@
|
|||||||
"HardenedBSD": "🛡️ ",
|
"HardenedBSD": "🛡️ ",
|
||||||
"Illumos": "🐦 ",
|
"Illumos": "🐦 ",
|
||||||
"Linux": "🐧 ",
|
"Linux": "🐧 ",
|
||||||
|
"Mabox": "📦 ",
|
||||||
"Macos": "🍎 ",
|
"Macos": "🍎 ",
|
||||||
"Manjaro": "🥭 ",
|
"Manjaro": "🥭 ",
|
||||||
"Mariner": "🌊 ",
|
"Mariner": "🌊 ",
|
||||||
|
4
Cargo.lock
generated
4
Cargo.lock
generated
@ -2012,9 +2012,9 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "os_info"
|
name = "os_info"
|
||||||
version = "3.6.0"
|
version = "3.7.0"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "5c424bc68d15e0778838ac013b5b3449544d8133633d8016319e7e05a820b8c0"
|
checksum = "006e42d5b888366f1880eda20371fedde764ed2213dc8496f49622fa0c99cd5e"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"log",
|
"log",
|
||||||
"serde",
|
"serde",
|
||||||
|
@ -60,7 +60,7 @@ nu-ansi-term = "0.47.0"
|
|||||||
once_cell = "1.17.1"
|
once_cell = "1.17.1"
|
||||||
open = "4.0.1"
|
open = "4.0.1"
|
||||||
# update os module config and tests when upgrading os_info
|
# 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"
|
path-slash = "0.2.1"
|
||||||
pest = "2.5.7"
|
pest = "2.5.7"
|
||||||
pest_derive = "2.5.7"
|
pest_derive = "2.5.7"
|
||||||
|
@ -74,10 +74,12 @@ symbol = " "
|
|||||||
symbol = " "
|
symbol = " "
|
||||||
|
|
||||||
[os.symbols]
|
[os.symbols]
|
||||||
|
Alpaquita = " "
|
||||||
Alpine = " "
|
Alpine = " "
|
||||||
Amazon = " "
|
Amazon = " "
|
||||||
Android = " "
|
Android = " "
|
||||||
Arch = " "
|
Arch = " "
|
||||||
|
Artix = " "
|
||||||
CentOS = " "
|
CentOS = " "
|
||||||
Debian = " "
|
Debian = " "
|
||||||
DragonFly = " "
|
DragonFly = " "
|
||||||
@ -90,6 +92,7 @@ Gentoo = " "
|
|||||||
HardenedBSD = "ﲊ "
|
HardenedBSD = "ﲊ "
|
||||||
Illumos = " "
|
Illumos = " "
|
||||||
Linux = " "
|
Linux = " "
|
||||||
|
Mabox = " "
|
||||||
Macos = " "
|
Macos = " "
|
||||||
Manjaro = " "
|
Manjaro = " "
|
||||||
Mariner = " "
|
Mariner = " "
|
||||||
|
@ -119,10 +119,12 @@ symbol = "ml "
|
|||||||
symbol = "opa "
|
symbol = "opa "
|
||||||
|
|
||||||
[os.symbols]
|
[os.symbols]
|
||||||
|
Alpaquita = "alq "
|
||||||
Alpine = "alp "
|
Alpine = "alp "
|
||||||
Amazon = "amz "
|
Amazon = "amz "
|
||||||
Android = "andr "
|
Android = "andr "
|
||||||
Arch = "rch "
|
Arch = "rch "
|
||||||
|
Artix = "atx "
|
||||||
CentOS = "cent "
|
CentOS = "cent "
|
||||||
Debian = "deb "
|
Debian = "deb "
|
||||||
DragonFly = "dfbsd "
|
DragonFly = "dfbsd "
|
||||||
@ -135,6 +137,7 @@ Gentoo = "gent "
|
|||||||
HardenedBSD = "hbsd "
|
HardenedBSD = "hbsd "
|
||||||
Illumos = "lum "
|
Illumos = "lum "
|
||||||
Linux = "lnx "
|
Linux = "lnx "
|
||||||
|
Mabox = "mbox "
|
||||||
Macos = "mac "
|
Macos = "mac "
|
||||||
Manjaro = "mjo "
|
Manjaro = "mjo "
|
||||||
Mariner = "mrn "
|
Mariner = "mrn "
|
||||||
|
@ -3004,10 +3004,12 @@ If you would like an operating system to be added, feel free to open a [feature
|
|||||||
```toml
|
```toml
|
||||||
# This is the default symbols table.
|
# This is the default symbols table.
|
||||||
[os.symbols]
|
[os.symbols]
|
||||||
|
Alpaquita = "🔔 "
|
||||||
Alpine = "🏔️ "
|
Alpine = "🏔️ "
|
||||||
Amazon = "🙂 "
|
Amazon = "🙂 "
|
||||||
Android = "🤖 "
|
Android = "🤖 "
|
||||||
Arch = "🎗️ "
|
Arch = "🎗️ "
|
||||||
|
Artix = "🎗️ "
|
||||||
CentOS = "💠 "
|
CentOS = "💠 "
|
||||||
Debian = "🌀 "
|
Debian = "🌀 "
|
||||||
DragonFly = "🐉 "
|
DragonFly = "🐉 "
|
||||||
@ -3020,6 +3022,7 @@ Gentoo = "🗜️ "
|
|||||||
HardenedBSD = "🛡️ "
|
HardenedBSD = "🛡️ "
|
||||||
Illumos = "🐦 "
|
Illumos = "🐦 "
|
||||||
Linux = "🐧 "
|
Linux = "🐧 "
|
||||||
|
Mabox = "📦 "
|
||||||
Macos = "🍎 "
|
Macos = "🍎 "
|
||||||
Manjaro = "🥭 "
|
Manjaro = "🥭 "
|
||||||
Mariner = "🌊 "
|
Mariner = "🌊 "
|
||||||
|
@ -28,10 +28,12 @@ impl<'a> Default for OSConfig<'a> {
|
|||||||
format: "[$symbol]($style)",
|
format: "[$symbol]($style)",
|
||||||
style: "bold white",
|
style: "bold white",
|
||||||
symbols: indexmap! {
|
symbols: indexmap! {
|
||||||
|
Type::Alpaquita => "🔔 ",
|
||||||
Type::Alpine => "🏔️ ",
|
Type::Alpine => "🏔️ ",
|
||||||
Type::Amazon => "🙂 ",
|
Type::Amazon => "🙂 ",
|
||||||
Type::Android => "🤖 ",
|
Type::Android => "🤖 ",
|
||||||
Type::Arch => "🎗️ ",
|
Type::Arch => "🎗️ ",
|
||||||
|
Type::Artix => "🎗️ ",
|
||||||
Type::CentOS => "💠 ",
|
Type::CentOS => "💠 ",
|
||||||
Type::Debian => "🌀 ",
|
Type::Debian => "🌀 ",
|
||||||
Type::DragonFly => "🐉 ",
|
Type::DragonFly => "🐉 ",
|
||||||
@ -44,6 +46,7 @@ impl<'a> Default for OSConfig<'a> {
|
|||||||
Type::HardenedBSD => "🛡️ ",
|
Type::HardenedBSD => "🛡️ ",
|
||||||
Type::Illumos => "🐦 ",
|
Type::Illumos => "🐦 ",
|
||||||
Type::Linux => "🐧 ",
|
Type::Linux => "🐧 ",
|
||||||
|
Type::Mabox => "📦 ",
|
||||||
Type::Macos => "🍎 ",
|
Type::Macos => "🍎 ",
|
||||||
Type::Manjaro => "🥭 ",
|
Type::Manjaro => "🥭 ",
|
||||||
Type::Mariner => "🌊 ",
|
Type::Mariner => "🌊 ",
|
||||||
|
@ -331,10 +331,11 @@ mod tests {
|
|||||||
// - dosc/.vuepress/public/presets/toml/nerd-font-symbols.toml
|
// - dosc/.vuepress/public/presets/toml/nerd-font-symbols.toml
|
||||||
// - .github/config-schema.json
|
// - .github/config-schema.json
|
||||||
let _ = |t: Type| match t {
|
let _ = |t: Type| match t {
|
||||||
|
Type::Alpaquita => "🔔 ",
|
||||||
Type::Alpine => "🏔️ ",
|
Type::Alpine => "🏔️ ",
|
||||||
Type::Amazon => "🙂 ",
|
Type::Amazon => "🙂 ",
|
||||||
Type::Android => "🤖 ",
|
Type::Android => "🤖 ",
|
||||||
Type::Arch => "🎗️ ",
|
Type::Arch | Type::Artix => "🎗️ ",
|
||||||
Type::CentOS => "💠 ",
|
Type::CentOS => "💠 ",
|
||||||
Type::Debian => "🌀 ",
|
Type::Debian => "🌀 ",
|
||||||
Type::DragonFly => "🐉 ",
|
Type::DragonFly => "🐉 ",
|
||||||
@ -347,6 +348,7 @@ mod tests {
|
|||||||
Type::HardenedBSD => "🛡️ ",
|
Type::HardenedBSD => "🛡️ ",
|
||||||
Type::Illumos => "🐦 ",
|
Type::Illumos => "🐦 ",
|
||||||
Type::Linux => "🐧 ",
|
Type::Linux => "🐧 ",
|
||||||
|
Type::Mabox => "📦 ",
|
||||||
Type::Macos => "🍎 ",
|
Type::Macos => "🍎 ",
|
||||||
Type::Manjaro => "🥭 ",
|
Type::Manjaro => "🥭 ",
|
||||||
Type::Mariner => "🌊 ",
|
Type::Mariner => "🌊 ",
|
||||||
|
Loading…
Reference in New Issue
Block a user