update a few nushell dependencies (#6291)

* update a few nushell dependencies

* update a test
This commit is contained in:
Darren Schroeder 2022-08-10 14:56:15 -05:00 committed by GitHub
parent ce26ef97e4
commit 58094987ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 27 additions and 28 deletions

41
Cargo.lock generated
View File

@ -1460,9 +1460,9 @@ checksum = "22030e2c5a68ec659fde1e949a745124b48e6fa8b045b7ed5bd1fe4ccc5c4e5d"
[[package]]
name = "git2"
version = "0.14.4"
version = "0.15.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d0155506aab710a86160ddb504a480d2964d7ab5b9e62419be69e0032bc5931c"
checksum = "2994bee4a3a6a51eb90c218523be382fd7ea09b16380b9312e9dbe955ff7c7d1"
dependencies = [
"bitflags",
"libc",
@ -1986,9 +1986,9 @@ checksum = "349d5a591cd28b49e1d1037471617a32ddcda5731b99419008085f72d5a53836"
[[package]]
name = "libgit2-sys"
version = "0.13.4+1.4.2"
version = "0.14.0+1.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d0fa6563431ede25f5cc7f6d803c6afbc1c5d3ad3d4925d12c882bf2b526f5d1"
checksum = "47a00859c70c8a4f7218e6d1cc32875c4b55f6799445b842b0d8ed5e4c3d959b"
dependencies = [
"cc",
"libc",
@ -2099,7 +2099,8 @@ dependencies = [
[[package]]
name = "lscolors"
version = "0.12.0"
source = "git+https://github.com/sharkdp/lscolors.git?branch=master#5516bc727f66e7931a62585034ca8cc3ecf3f699"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "074bff749d092e2e818fe954952102f88e21f67fc69f4d350621aab15a1810f1"
dependencies = [
"ansi_term",
"crossterm 0.24.0",
@ -3627,9 +3628,9 @@ dependencies = [
[[package]]
name = "procfs"
version = "0.13.2"
version = "0.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "979e5cb47caafb8e14653bb083358e19917ca8c9c4c2648932eccd935f5c4d80"
checksum = "c1391b61957e3b6f25a59ca2e057d22a44415917d87893986f6627fef109d32f"
dependencies = [
"bitflags",
"byteorder",
@ -4321,14 +4322,15 @@ dependencies = [
[[package]]
name = "serde_yaml"
version = "0.8.26"
version = "0.9.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "578a7433b776b56a35785ed5ce9a7e777ac0598aac5a6dd1b4b18a307c7fc71b"
checksum = "79b7c9017c64a49806c6e8df8ef99b92446d09c92457f85f91835b01a8064ae0"
dependencies = [
"indexmap",
"itoa 1.0.2",
"ryu",
"serde",
"yaml-rust",
"unsafe-libyaml",
]
[[package]]
@ -4701,9 +4703,9 @@ dependencies = [
[[package]]
name = "sysinfo"
version = "0.24.7"
version = "0.25.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "54cb4ebf3d49308b99e6e9dc95e989e2fdbdc210e4f67c39db0bb89ba927001c"
checksum = "1594a36887d0f70096702bffadfb67dfbfe76ad4bf84605e86157dc9fce9961a"
dependencies = [
"cfg-if 1.0.0",
"core-foundation-sys",
@ -5135,6 +5137,12 @@ version = "0.2.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "957e51f3646910546462e67d5f7599b9e4fb8acdd304b087a6494730f9eebf04"
[[package]]
name = "unsafe-libyaml"
version = "0.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "931179334a56395bcf64ba5e0ff56781381c1a5832178280c7d7f91d1679aeb0"
[[package]]
name = "url"
version = "2.2.2"
@ -5572,15 +5580,6 @@ version = "0.13.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "114ba2b24d2167ef6d67d7d04c8cc86522b87f490025f39f0303b7db5bf5e3d8"
[[package]]
name = "yaml-rust"
version = "0.4.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "56c1936c4cc7a1c9ab21a1ebb602eb942ba868cbd44a99cb7cdc5892335e1c85"
dependencies = [
"linked-hash-map",
]
[[package]]
name = "zeroize"
version = "1.5.7"

View File

@ -30,7 +30,7 @@ lazy_static = "1.4.0"
log = "0.4"
miette = { version = "5.1.0", features = ["fancy"] }
strip-ansi-escapes = "0.1.1"
sysinfo = "0.24.1"
sysinfo = "0.25.2"
thiserror = "1.0.31"
[features]

View File

@ -71,12 +71,12 @@ rust-embed = "6.3.0"
serde = { version="1.0.123", features=["derive"] }
serde_ini = "0.2.0"
serde_urlencoded = "0.7.0"
serde_yaml = "0.8.16"
serde_yaml = "0.9.4"
sha2 = "0.10.0"
# Disable default features b/c the default features build Git (very slow to compile)
shadow-rs = { version = "0.16.1", default-features = false }
strip-ansi-escapes = "0.1.1"
sysinfo = "0.24.6"
sysinfo = "0.25.2"
terminal_size = "0.2.1"
thiserror = "1.0.31"
titlecase = "2.0.0"

View File

@ -24,7 +24,7 @@ impl Command for ToYaml {
vec![Example {
description: "Outputs an YAML string representing the contents of this table",
example: r#"[[foo bar]; ["1" "2"]] | to yaml"#,
result: Some(Value::test_string("---\n- foo: \"1\"\n bar: \"2\"\n")),
result: Some(Value::test_string("- foo: '1'\n bar: '2'\n")),
}]
}

View File

@ -13,7 +13,7 @@ nu-glob = { path = "../nu-glob", version = "0.66.4" }
nu-utils = { path = "../nu-utils", version = "0.66.4" }
chrono = { version="0.4.20", features=["serde"] }
sysinfo = "0.24.6"
sysinfo = "0.25.2"
[features]
plugin = []

View File

@ -16,7 +16,7 @@ path = "src/main.rs"
libc = "0.2"
[target.'cfg(any(target_os = "linux", target_os = "android"))'.dependencies]
procfs = "0.13.0"
procfs = "0.14.0"
[target.'cfg(target_os = "macos")'.dependencies]
libproc = "0.12.0"

View File

@ -14,4 +14,4 @@ nu-plugin = { path="../nu-plugin", version = "0.66.4" }
nu-protocol = { path="../nu-protocol", version = "0.66.4" }
nu-engine = { path="../nu-engine", version = "0.66.4" }
git2 = "0.14.2"
git2 = "0.15.0"