Cargo Features

[dependencies]
nu = { version = "0.99.1", default-features = false, features = ["plugin", "stable", "static-link-openssl", "mimalloc", "system-clipboard", "trash-support", "sqlite"] }
default stable? = mimalloc, plugin, sqlite, trash-support

These default features are set whenever nu is added without default-features = false somewhere in the dependency tree.

plugin default = nu-cmd-plugin, nu-plugin-engine

Enables plugin of nu-cli, nu-command, nu-engine, nu-parser, and nu-protocol

stable = default

NOTE: individual features are also passed to nu-cmd-lang that uses them to generate the feature matrix in the version command

Enable 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

Enables mimalloc, mimalloc of nu-cmd-lang

system-clipboard

Optional system clipboard support in reedline, this behavior has problematic compatibility with some systems. Missing X server/ Wayland can cause issues

Enables system_clipboard of reedline, system-clipboard of nu-cli and nu-cmd-lang

trash-support default

Stable (Default)

Enables trash-support of nu-cmd-lang and nu-command

sqlite default

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.

nu-cmd-plugin plugin
nu-plugin-engine plugin