mirror of
https://github.com/nushell/nushell.git
synced 2024-11-25 09:53:43 +01:00
reorganize features a bit (#4807)
This commit is contained in:
parent
ffa3aaaa56
commit
14dc662e50
10
Cargo.toml
10
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
|
||||
|
Loading…
Reference in New Issue
Block a user