reorganize features a bit (#4807)

This commit is contained in:
Darren Schroeder 2022-03-10 07:37:24 -06:00 committed by GitHub
parent ffa3aaaa56
commit 14dc662e50
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -70,17 +70,17 @@ embed-resource = "1"
[features] [features]
plugin = ["nu-plugin", "nu-parser/plugin", "nu-command/plugin", "nu-protocol/plugin", "nu-engine/plugin"] 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"] stable = ["default"]
extra = ["default", "dataframe", "zip-support", "trash-support"] extra = ["default", "dataframe"]
wasi = [] wasi = []
trash-support = ["nu-command/trash-support"]
# Stable (Default) # Stable (Default)
which = ["nu-command/which"] which = ["nu-command/which"]
zip-support = ["nu-command/zip"]
trash-support = ["nu-command/trash-support"]
# Extra # Extra
zip-support = ["nu-command/zip"]
# Dataframe feature for nushell # Dataframe feature for nushell
dataframe = ["nu-command/dataframe"] dataframe = ["nu-command/dataframe"]
@ -88,7 +88,7 @@ dataframe = ["nu-command/dataframe"]
[profile.release] [profile.release]
opt-level = "s" # Optimize for size opt-level = "s" # Optimize for size
strip = "debuginfo" strip = "debuginfo"
lto = "fat" lto = "thin"
# build with `cargo build --profile profiling` # build with `cargo build --profile profiling`
# to analyze performance with tooling like linux perf # to analyze performance with tooling like linux perf