Cargo Features

[dependencies]
nu-command = { version = "0.101.0", default-features = false, features = ["os", "js", "network", "plugin", "sqlite", "trash-support"] }
default = os

The os feature is set by default whenever nu-command is added without default-features = false somewhere in the dependency tree.

os default plugin? = crossterm, js, network, notify-debouncer-full, open, os_pipe, uu_cp, uu_mkdir, uu_mktemp, uu_mv, uu_touch, uu_uname, uu_whoami, which

Enables os of nu-protocol and nu-utils

js os = getrandom, rand, uuid

The dependencies listed below need 'getrandom'.
They work with JS (usually with wasm-bindgen) or regular OS support.
Hence they are also put under the 'os' feature to avoid repetition.

Enables js of getrandom

network os = multipart-rs, native-tls, uuid

These dependencies require networking capabilities, especially the http interface requires openssl which is not easy to embed into wasm,
using rustls could solve this issue.

Enables native-tls of ureq

plugin = os

Enables plugin of nu-parser

sqlite = rusqlite
trash-support = trash

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.

crossterm os
multipart-rs network?

Enables multipart-rs ^0.1.13

native-tls network?
notify-debouncer-full os

Enables notify-debouncer-full ^0.3

open os
os_pipe os
rand js?
getrandom js?
rusqlite sqlite?

Enables rusqlite ^0.31

uu_cp os
uu_mkdir os
uu_mktemp os
uu_mv os
uu_touch os
uu_uname os
uu_whoami os
uuid js? network?
which os
trash not android ios trash-support?