Skip to content

Commit

Permalink
reorganize features a bit (#4807)
Browse files Browse the repository at this point in the history
  • Loading branch information
fdncred committed Mar 10, 2022
1 parent ffa3aaa commit 14dc662
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -70,25 +70,25 @@ 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"]

[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
Expand Down

0 comments on commit 14dc662

Please sign in to comment.