From 14dc662e505f4aa648240329250c125a6b4c859e Mon Sep 17 00:00:00 2001 From: Darren Schroeder <343840+fdncred@users.noreply.github.com> Date: Thu, 10 Mar 2022 07:37:24 -0600 Subject: [PATCH] reorganize features a bit (#4807) --- Cargo.toml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index aae0516219..1d897121c3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -70,17 +70,17 @@ embed-resource = "1" [features] plugin = ["nu-plugin", "nu-parser/plugin", "nu-command/plugin", "nu-protocol/plugin", "nu-engine/plugin"] -default = ["plugin", "which"] +default = ["plugin", "which", "zip-support", "trash-support"] stable = ["default"] -extra = ["default", "dataframe", "zip-support", "trash-support"] +extra = ["default", "dataframe"] wasi = [] -trash-support = ["nu-command/trash-support"] # Stable (Default) which = ["nu-command/which"] +zip-support = ["nu-command/zip"] +trash-support = ["nu-command/trash-support"] # Extra -zip-support = ["nu-command/zip"] # Dataframe feature for nushell dataframe = ["nu-command/dataframe"] @@ -88,7 +88,7 @@ dataframe = ["nu-command/dataframe"] [profile.release] opt-level = "s" # Optimize for size strip = "debuginfo" -lto = "fat" +lto = "thin" # build with `cargo build --profile profiling` # to analyze performance with tooling like linux perf