mirror of
https://github.com/nushell/nushell.git
synced 2024-11-28 19:33:47 +01:00
changed cargo.toml so plugins don't build with features=extra (#4788)
* changed cargo.toml so plugins don't build with features=extra * remove comments
This commit is contained in:
parent
b73af3b8df
commit
4ddf24269a
4
Cargo.lock
generated
4
Cargo.lock
generated
@ -2157,10 +2157,6 @@ dependencies = [
|
||||
"nu-table",
|
||||
"nu-term-grid",
|
||||
"nu-test-support",
|
||||
"nu_plugin_example",
|
||||
"nu_plugin_gstat",
|
||||
"nu_plugin_inc",
|
||||
"nu_plugin_query",
|
||||
"pretty_assertions",
|
||||
"pretty_env_logger",
|
||||
"rayon",
|
||||
|
20
Cargo.toml
20
Cargo.toml
@ -34,7 +34,6 @@ chrono = "0.4.19"
|
||||
crossterm = "0.23.0"
|
||||
crossterm_winapi = "0.9.0"
|
||||
ctrlc = "3.2.1"
|
||||
# lazy_static = "1.4.0"
|
||||
log = "0.4"
|
||||
miette = "4.1.0"
|
||||
nu-ansi-term = "0.42.0"
|
||||
@ -56,14 +55,6 @@ rayon = "1.5.1"
|
||||
reedline = { git = "https://github.com/nushell/reedline", branch = "main" }
|
||||
is_executable = "1.0.1"
|
||||
|
||||
# mimalloc = { version = "*", default-features = false }
|
||||
|
||||
# Plugins
|
||||
nu_plugin_example = { version = "0.59.1", path = "./crates/nu_plugin_example", optional = true }
|
||||
nu_plugin_gstat = { version = "0.59.1", path = "./crates/nu_plugin_gstat", optional = true }
|
||||
nu_plugin_inc = { version = "0.59.1", path = "./crates/nu_plugin_inc", optional = true }
|
||||
nu_plugin_query = { version = "0.59.1", path = "./crates/nu_plugin_query", optional = true }
|
||||
|
||||
[dev-dependencies]
|
||||
nu-test-support = { path="./crates/nu-test-support" }
|
||||
tempfile = "3.2.0"
|
||||
@ -79,21 +70,17 @@ embed-resource = "1"
|
||||
|
||||
[features]
|
||||
plugin = ["nu-plugin", "nu-parser/plugin", "nu-command/plugin", "nu-protocol/plugin", "nu-engine/plugin"]
|
||||
default = ["plugin", "inc", "example", "which"]
|
||||
default = ["plugin", "which"]
|
||||
stable = ["default"]
|
||||
extra = ["default", "dataframe", "gstat", "zip-support", "query", "trash-support"]
|
||||
wasi = ["inc"]
|
||||
extra = ["default", "dataframe", "zip-support", "trash-support"]
|
||||
wasi = []
|
||||
trash-support = ["nu-command/trash-support"]
|
||||
|
||||
# Stable (Default)
|
||||
inc = ["nu_plugin_inc"]
|
||||
example = ["nu_plugin_example"]
|
||||
which = ["nu-command/which"]
|
||||
|
||||
# Extra
|
||||
gstat = ["nu_plugin_gstat"]
|
||||
zip-support = ["nu-command/zip"]
|
||||
query = ["nu_plugin_query"]
|
||||
|
||||
# Dataframe feature for nushell
|
||||
dataframe = ["nu-command/dataframe"]
|
||||
@ -101,6 +88,7 @@ dataframe = ["nu-command/dataframe"]
|
||||
[profile.release]
|
||||
opt-level = "s" # Optimize for size
|
||||
strip = "debuginfo"
|
||||
lto = "fat"
|
||||
|
||||
# build with `cargo build --profile profiling`
|
||||
# to analyze performance with tooling like linux perf
|
||||
|
Loading…
Reference in New Issue
Block a user