diff --git a/Cargo.lock b/Cargo.lock index 9b627426daf1..e9c8700f477d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2157,10 +2157,6 @@ dependencies = [ "nu-table", "nu-term-grid", "nu-test-support", - "nu_plugin_example", - "nu_plugin_gstat", - "nu_plugin_inc", - "nu_plugin_query", "pretty_assertions", "pretty_env_logger", "rayon", diff --git a/Cargo.toml b/Cargo.toml index f5f48de66aff..aae05162197c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -34,7 +34,6 @@ chrono = "0.4.19" crossterm = "0.23.0" crossterm_winapi = "0.9.0" ctrlc = "3.2.1" -# lazy_static = "1.4.0" log = "0.4" miette = "4.1.0" nu-ansi-term = "0.42.0" @@ -56,14 +55,6 @@ rayon = "1.5.1" reedline = { git = "https://github.com/nushell/reedline", branch = "main" } is_executable = "1.0.1" -# mimalloc = { version = "*", default-features = false } - -# Plugins -nu_plugin_example = { version = "0.59.1", path = "./crates/nu_plugin_example", optional = true } -nu_plugin_gstat = { version = "0.59.1", path = "./crates/nu_plugin_gstat", optional = true } -nu_plugin_inc = { version = "0.59.1", path = "./crates/nu_plugin_inc", optional = true } -nu_plugin_query = { version = "0.59.1", path = "./crates/nu_plugin_query", optional = true } - [dev-dependencies] nu-test-support = { path="./crates/nu-test-support" } tempfile = "3.2.0" @@ -79,21 +70,17 @@ embed-resource = "1" [features] plugin = ["nu-plugin", "nu-parser/plugin", "nu-command/plugin", "nu-protocol/plugin", "nu-engine/plugin"] -default = ["plugin", "inc", "example", "which"] +default = ["plugin", "which"] stable = ["default"] -extra = ["default", "dataframe", "gstat", "zip-support", "query", "trash-support"] -wasi = ["inc"] +extra = ["default", "dataframe", "zip-support", "trash-support"] +wasi = [] trash-support = ["nu-command/trash-support"] # Stable (Default) -inc = ["nu_plugin_inc"] -example = ["nu_plugin_example"] which = ["nu-command/which"] # Extra -gstat = ["nu_plugin_gstat"] zip-support = ["nu-command/zip"] -query = ["nu_plugin_query"] # Dataframe feature for nushell dataframe = ["nu-command/dataframe"] @@ -101,6 +88,7 @@ dataframe = ["nu-command/dataframe"] [profile.release] opt-level = "s" # Optimize for size strip = "debuginfo" +lto = "fat" # build with `cargo build --profile profiling` # to analyze performance with tooling like linux perf