summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>2020-09-29 17:06:45 -0400
committerGitHub <noreply@github.com>2020-09-29 17:06:45 -0400
commit83502a08ddea2773201f6f833fe659d4f7b4299a (patch)
tree556896f222e5645aaf9a8b3c74421a1a9f53694f
parentcad415a0e0991620103852c4550a1515fa9583a6 (diff)
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>
-rw-r--r--Cargo.lock4
-rw-r--r--Cargo.toml2
-rw-r--r--src/bug_report.rs2
3 files changed, 4 insertions, 4 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 5f28e6a07..b0f01787e 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -789,9 +789,9 @@ dependencies = [
[[package]]
name = "os_info"
-version = "2.0.8"
+version = "3.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d2cc1b4330bb29087e791ae2a5cf56be64fb8946a4ff5aec2ba11c6ca51f5d60"
+checksum = "09300db72fca7d425d1f51b76b881fdcc63241fdc952b5cd013f8a6f8c01e6d5"
dependencies = [
"log",
"serde",
diff --git a/Cargo.toml b/Cargo.toml
index 975f0c270..3e54b3ec8 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -51,7 +51,7 @@ yaml-rust = "0.4"
pest = "^2.1"
pest_derive = "^2.1"
regex = "1.3.9"
-os_info = "2.0.8"
+os_info = "3.0.0"
urlencoding = "1.1.1"
open = "1.4.0"
unicode-width = "0.1.8"
diff --git a/src/bug_report.rs b/src/bug_report.rs
index d9104ab1c..2ea9d5ec0 100644
--- a/src/bug_report.rs
+++ b/src/bug_report.rs
@@ -212,7 +212,7 @@ mod tests {
let starship_version = "0.1.2";
let environment = Environment {
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 {
name: "test_shell".to_string(),
version: "2.3.4".to_string(),