plugin_sys: Bump sysinfo dep version (#3561)

Previous to this commit, the sysinfo crate would show blank `brand` for
Apple M1 architectures whenever you would run `sys | get cpu`.

I have fixed the issue in sysinfo, so bumping the dependency version to 0.18.2
means brand now is retrieved successfully on M1 architectures.
This commit is contained in:
Reagan McFarland 2021-06-05 19:15:30 -04:00 committed by GitHub
parent 1d0d0425d4
commit 995dbd25b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 19 additions and 3 deletions

20
Cargo.lock generated
View File

@ -3864,7 +3864,7 @@ dependencies = [
"nu-protocol", "nu-protocol",
"nu-source", "nu-source",
"num-bigint 0.3.2", "num-bigint 0.3.2",
"sysinfo", "sysinfo 0.16.5",
] ]
[[package]] [[package]]
@ -3928,7 +3928,7 @@ dependencies = [
"nu-protocol", "nu-protocol",
"nu-source", "nu-source",
"num-bigint 0.3.2", "num-bigint 0.3.2",
"sysinfo", "sysinfo 0.18.2",
] ]
[[package]] [[package]]
@ -6173,6 +6173,22 @@ dependencies = [
"winapi 0.3.9", "winapi 0.3.9",
] ]
[[package]]
name = "sysinfo"
version = "0.18.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d404aefa651a24a7f2a1190fec9fb6380ba84ac511a6fefad79eb0e63d39a97d"
dependencies = [
"cfg-if 1.0.0",
"core-foundation-sys",
"doc-comment",
"libc",
"ntapi",
"once_cell",
"rayon",
"winapi 0.3.9",
]
[[package]] [[package]]
name = "take" name = "take"
version = "0.1.0" version = "0.1.0"

View File

@ -18,6 +18,6 @@ nu-source = { path = "../nu-source", version = "0.32.1" }
futures = { version = "0.3.5", features = ["compat", "io-compat"] } futures = { version = "0.3.5", features = ["compat", "io-compat"] }
futures-util = "0.3.12" futures-util = "0.3.12"
num-bigint = "0.3.1" num-bigint = "0.3.1"
sysinfo = "0.16.5" sysinfo = "0.18.2"
[build-dependencies] [build-dependencies]