From a7b5bd18ba6a068893f5aa8be68883ee0a3d9342 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Audiger?= <31616285+jaudiger@users.noreply.github.com> Date: Fri, 3 Mar 2023 18:41:13 +0100 Subject: [PATCH] Shadow rs dep (#8298) # Description While looking at the recent MR merged, I noticed that a dependency was no more used with https://github.com/nushell/nushell/pull/8280. # User-Facing Changes None. # Tests + Formatting Don't forget to add tests that cover your changes. Make sure you've run and fixed any issues with these commands: - `cargo fmt --all -- --check` to check standard code formatting (`cargo fmt --all` applies these changes) - `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A clippy::needless_collect` to check that you're using the standard code style - `cargo test --workspace` to check that all tests pass # After Submitting If your PR had any user-facing changes, update [the documentation](https://github.com/nushell/nushell.github.io) after the PR is merged, if necessary. This will help us keep the docs up to date. --- Cargo.lock | 5 ++--- crates/nu-cmd-lang/Cargo.toml | 4 ++-- crates/nu-command/Cargo.toml | 1 - 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 4c92a51b67..72ae2956a9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2818,7 +2818,6 @@ dependencies = [ "serde_urlencoded", "serde_yaml", "sha2", - "shadow-rs", "sqlparser", "sysinfo 0.28.0", "tabled", @@ -4796,9 +4795,9 @@ dependencies = [ [[package]] name = "shadow-rs" -version = "0.20.0" +version = "0.21.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8da90bd2a722461267a2c5d20b2c6de76dba087348e60484fd6c3fbb48b766d6" +checksum = "427f07ab5f873000cf55324882e12a88c0a7ea7025df4fc1e7e35e688877a583" dependencies = [ "const_format", "is_debug", diff --git a/crates/nu-cmd-lang/Cargo.toml b/crates/nu-cmd-lang/Cargo.toml index 88e6f4c118..8c61faad7f 100644 --- a/crates/nu-cmd-lang/Cargo.toml +++ b/crates/nu-cmd-lang/Cargo.toml @@ -22,10 +22,10 @@ nu-utils = { path = "../nu-utils", version = "0.76.1" } fancy-regex = "0.11.0" itertools = "0.10.0" log = "0.4.14" -shadow-rs = { version = "0.20.0", default-features = false } +shadow-rs = { version = "0.21.0", default-features = false } [build-dependencies] -shadow-rs = { version = "0.20.0", default-features = false } +shadow-rs = { version = "0.21.0", default-features = false } [dev-dependencies] nu-test-support = { path="../nu-test-support", version = "0.76.1" } diff --git a/crates/nu-command/Cargo.toml b/crates/nu-command/Cargo.toml index b2cdb257ac..5eea4ab136 100644 --- a/crates/nu-command/Cargo.toml +++ b/crates/nu-command/Cargo.toml @@ -84,7 +84,6 @@ sha2 = "0.10.0" percent-encoding = "2.2.0" reedline = { version = "0.16.0", features = ["bashisms", "sqlite"] } rusqlite = { version = "0.28.0", features = ["bundled"], optional = true } -shadow-rs = { version = "0.20.0", default-features = false } sqlparser = { version = "0.30.0", features = ["serde"], optional = true } sysinfo = "0.28.0" tabled = "0.10.0"