mirror of
https://github.com/nushell/nushell.git
synced 2024-11-29 03:44:19 +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]
|
[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
|
||||||
|
Loading…
Reference in New Issue
Block a user