Cargo Features
[dependencies]
nu = { version = "0.93.0", default-features = false, features = ["plugin", "default-no-clipboard", "stable", "static-link-openssl", "mimalloc", "system-clipboard", "which-support", "trash-support", "dataframe", "sqlite"] }
- default stable? = default-no-clipboard, system-clipboard
-
These default features are set whenever
nu
is added without
somewhere in the dependency tree.default-features = false - plugin default-no-clipboard = nu-cmd-plugin, nu-plugin-engine
-
Enables plugin of nu-cli, nu-command, nu-engine, nu-parser, and nu-protocol
- default-no-clipboard default = mimalloc, plugin, sqlite, trash-support, which-support
-
Enables convenient omitting of the system-clipboard feature, as it leads to problems in ci on linux See https://github.com/nushell/nushell/pull/11535
- stable = default
- static-link-openssl
-
NOTE: individual features are also passed to
nu-cmd-lang
that uses them to generate the feature matrix in theversion
commandEnable to statically link OpenSSL (perl is required, to build OpenSSL https://docs.rs/openssl/latest/openssl/); otherwise the system version will be used. Not enabled by default because it takes a while to build
Enables openssl, static-link-openssl of nu-cmd-lang
- mimalloc default-no-clipboard
-
Enables mimalloc, mimalloc of nu-cmd-lang
- system-clipboard default
-
Enables system_clipboard of reedline, system-clipboard of nu-cli and nu-cmd-lang
- which-support default-no-clipboard
-
Stable (Default)
Enables which-support of nu-cmd-lang and nu-command
- trash-support default-no-clipboard
-
Enables trash-support of nu-cmd-lang and nu-command
- dataframe
-
Dataframe feature for nushell
Enables nu-cmd-dataframe, dataframe of nu-cmd-lang
- sqlite default-no-clipboard
-
SQLite commands for nushell
Enables sqlite of nu-cmd-lang and nu-command
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.