Remove unused dependencies (#12917)

- **Remove unused `pathdiff` dep in `nu-cli`**
- **Remove unused `serde_json` dep on `nu-protocol`**
- Unnecessary after moving the plugin file to msgpack (still a
dev-dependency)
This commit is contained in:
Stefan Holderbach 2024-05-21 03:09:28 +02:00 committed by GitHub
parent 6e050f5634
commit db37bead64
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 0 additions and 4 deletions

1
Cargo.lock generated
View File

@ -2846,7 +2846,6 @@ dependencies = [
"nu-test-support",
"nu-utils",
"once_cell",
"pathdiff",
"percent-encoding",
"reedline",
"rstest",

View File

@ -39,7 +39,6 @@ miette = { workspace = true, features = ["fancy-no-backtrace"] }
lscolors = { workspace = true, default-features = false, features = ["nu-ansi-term"] }
once_cell = { workspace = true }
percent-encoding = { workspace = true }
pathdiff = { workspace = true }
sysinfo = { workspace = true }
unicode-segmentation = { workspace = true }
uuid = { workspace = true, features = ["v4"] }

View File

@ -28,7 +28,6 @@ miette = { workspace = true, features = ["fancy-no-backtrace"] }
num-format = { workspace = true }
rmp-serde = { workspace = true, optional = true }
serde = { workspace = true, default-features = false }
serde_json = { workspace = true, optional = true }
thiserror = "1.0"
typetag = "0.2"
os_pipe = { workspace = true, features = ["io_safety"] }
@ -40,7 +39,6 @@ nix = { workspace = true, default-features = false, features = ["signal"] }
plugin = [
"brotli",
"rmp-serde",
"serde_json",
]
[dev-dependencies]