From 3b0ba923e4e6a333e039ac391a2931b7dac88f2b Mon Sep 17 00:00:00 2001 From: Piepmatz Date: Mon, 2 Dec 2024 16:02:06 +0100 Subject: [PATCH] Fix missing `installed_plugins` field in `version` command (#14488) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit # Description In #14418 I added the `plugin` feature to the crate `nu-cmd-lang`. I forgot to include that feature in the `nushell/plugin` feature. This caused the `version` command to not have the `installed_plugins` field. With this PR I fixed that. # User-Facing Changes None 😇 # Tests + Formatting - :green_circle: `toolkit fmt` - :green_circle: `toolkit clippy` - :green_circle: `toolkit test` - :green_circle: `toolkit test stdlib` Running `version` shows `installed_plugins` again. # After Submitting That should be it. --- Cargo.toml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 102bd1246b..dd29f8b107 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -251,13 +251,18 @@ tempfile = { workspace = true } [features] plugin = [ - "nu-plugin-engine", + # crates "nu-cmd-plugin", + "nu-plugin-engine", + + # features "nu-cli/plugin", - "nu-parser/plugin", + "nu-cmd-lang/plugin", "nu-command/plugin", - "nu-protocol/plugin", "nu-engine/plugin", + "nu-engine/plugin", + "nu-parser/plugin", + "nu-protocol/plugin", ] default = [