1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-11-12 16:26:30 +00:00

build(deps): bump os_info from 2.0.8 to 3.0.0 (#1688)

* build(deps): bump os_info from 2.0.8 to 3.0.0

Bumps [os_info](https://github.com/stanislav-tkach/os_info) from 2.0.8 to 3.0.0.
- [Release notes](https://github.com/stanislav-tkach/os_info/releases)
- [Changelog](https://github.com/stanislav-tkach/os_info/blob/master/CHANGELOG.md)
- [Commits](https://github.com/stanislav-tkach/os_info/compare/v2.0.8...v3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Upgrade to work with the new os_info

Have switched to work with the new os_info tooling.

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Thomas O'Donnell <andy.tom@gmail.com>
This commit is contained in:
dependabot-preview[bot] 2020-09-29 17:06:45 -04:00 committed by GitHub
parent cad415a0e0
commit 83502a08dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

4
Cargo.lock generated
View File

@ -789,9 +789,9 @@ dependencies = [
[[package]] [[package]]
name = "os_info" name = "os_info"
version = "2.0.8" version = "3.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d2cc1b4330bb29087e791ae2a5cf56be64fb8946a4ff5aec2ba11c6ca51f5d60" checksum = "09300db72fca7d425d1f51b76b881fdcc63241fdc952b5cd013f8a6f8c01e6d5"
dependencies = [ dependencies = [
"log", "log",
"serde", "serde",

View File

@ -51,7 +51,7 @@ yaml-rust = "0.4"
pest = "^2.1" pest = "^2.1"
pest_derive = "^2.1" pest_derive = "^2.1"
regex = "1.3.9" regex = "1.3.9"
os_info = "2.0.8" os_info = "3.0.0"
urlencoding = "1.1.1" urlencoding = "1.1.1"
open = "1.4.0" open = "1.4.0"
unicode-width = "0.1.8" unicode-width = "0.1.8"

View File

@ -212,7 +212,7 @@ mod tests {
let starship_version = "0.1.2"; let starship_version = "0.1.2";
let environment = Environment { let environment = Environment {
os_type: os_info::Type::Linux, os_type: os_info::Type::Linux,
os_version: os_info::Version::semantic(1, 2, 3, Some("test".to_string())), os_version: os_info::Version::Semantic(1, 2, 3),
shell_info: ShellInfo { shell_info: ShellInfo {
name: "test_shell".to_string(), name: "test_shell".to_string(),
version: "2.3.4".to_string(), version: "2.3.4".to_string(),