build(deps): update rust crate os_info to 3.6.0 (#4878)

* build(deps): update rust crate os_info to 3.6.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-02-07 12:52:14 +01:00 committed by GitHub
parent 99e44ce782
commit c019630653
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 15 additions and 3 deletions

View File

@ -1144,6 +1144,7 @@
"NetBSD": "🚩 ", "NetBSD": "🚩 ",
"NixOS": "❄️ ", "NixOS": "❄️ ",
"OpenBSD": "🐡 ", "OpenBSD": "🐡 ",
"OpenCloudOS": "☁️ ",
"OracleLinux": "🦴 ", "OracleLinux": "🦴 ",
"Pop": "🍭 ", "Pop": "🍭 ",
"Raspbian": "🍓 ", "Raspbian": "🍓 ",
@ -1155,6 +1156,7 @@
"Ubuntu": "🎯 ", "Ubuntu": "🎯 ",
"Unknown": "❓ ", "Unknown": "❓ ",
"Windows": "🪟 ", "Windows": "🪟 ",
"openEuler": "🦉 ",
"openSUSE": "🦎 " "openSUSE": "🦎 "
} }
}, },
@ -4397,6 +4399,7 @@
"NetBSD": "🚩 ", "NetBSD": "🚩 ",
"NixOS": "❄️ ", "NixOS": "❄️ ",
"OpenBSD": "🐡 ", "OpenBSD": "🐡 ",
"OpenCloudOS": "☁️ ",
"OracleLinux": "🦴 ", "OracleLinux": "🦴 ",
"Pop": "🍭 ", "Pop": "🍭 ",
"Raspbian": "🍓 ", "Raspbian": "🍓 ",
@ -4408,6 +4411,7 @@
"Ubuntu": "🎯 ", "Ubuntu": "🎯 ",
"Unknown": "❓ ", "Unknown": "❓ ",
"Windows": "🪟 ", "Windows": "🪟 ",
"openEuler": "🦉 ",
"openSUSE": "🦎 " "openSUSE": "🦎 "
}, },
"type": "object", "type": "object",

4
Cargo.lock generated
View File

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

View File

@ -60,7 +60,7 @@ nu-ansi-term = "0.46.0"
once_cell = "1.17.0" once_cell = "1.17.0"
open = "3.2.0" open = "3.2.0"
# update os module config and tests when upgrading os_info # update os module config and tests when upgrading os_info
os_info = "3.5.1" os_info = "3.6.0"
path-slash = "0.2.1" path-slash = "0.2.1"
pest = "2.5.4" pest = "2.5.4"
pest_derive = "2.5.4" pest_derive = "2.5.4"

View File

@ -137,6 +137,8 @@ Mint = "mint "
NetBSD = "nbsd " NetBSD = "nbsd "
NixOS = "nix " NixOS = "nix "
OpenBSD = "obsd " OpenBSD = "obsd "
OpenCloudOS = "ocos "
openEuler = "oeul "
openSUSE = "osuse " openSUSE = "osuse "
OracleLinux = "orac " OracleLinux = "orac "
Pop = "pop " Pop = "pop "

View File

@ -3028,6 +3028,8 @@ Mint = "🌿 "
NetBSD = "🚩 " NetBSD = "🚩 "
NixOS = "❄️ " NixOS = "❄️ "
OpenBSD = "🐡 " OpenBSD = "🐡 "
OpenCloudOS = "☁️ "
openEuler = "🦉 "
openSUSE = "🦎 " openSUSE = "🦎 "
OracleLinux = "🦴 " OracleLinux = "🦴 "
Pop = "🍭 " Pop = "🍭 "

View File

@ -52,6 +52,8 @@ impl<'a> Default for OSConfig<'a> {
Type::NetBSD => "🚩 ", Type::NetBSD => "🚩 ",
Type::NixOS => "❄️ ", Type::NixOS => "❄️ ",
Type::OpenBSD => "🐡 ", Type::OpenBSD => "🐡 ",
Type::OpenCloudOS => "☁️ ",
Type::openEuler => "🦉 ",
Type::openSUSE => "🦎 ", Type::openSUSE => "🦎 ",
Type::OracleLinux => "🦴 ", Type::OracleLinux => "🦴 ",
Type::Pop => "🍭 ", Type::Pop => "🍭 ",

View File

@ -355,6 +355,8 @@ mod tests {
Type::NetBSD => "🚩 ", Type::NetBSD => "🚩 ",
Type::NixOS => "❄️ ", Type::NixOS => "❄️ ",
Type::OpenBSD => "🐡 ", Type::OpenBSD => "🐡 ",
Type::OpenCloudOS => "☁️ ",
Type::openEuler => "🦉 ",
Type::openSUSE => "🦎 ", Type::openSUSE => "🦎 ",
Type::OracleLinux => "🦴 ", Type::OracleLinux => "🦴 ",
Type::Pop => "🍭 ", Type::Pop => "🍭 ",