From 5be8717fe80296e4dcec705a8aa362c46ec473f0 Mon Sep 17 00:00:00 2001 From: Piepmatz Date: Sun, 15 Jun 2025 13:49:58 +0200 Subject: [PATCH] Add `full` feature as an alternative to `--all-features` (#15971) - closes #15967 # Description In 0.105 we introduced the feature `rustls-tls` which is enabled by default and uses `rustls` instead of `openssl` on linux machines. Since both `native-tls` and `rustls-tls` cannot be enabled at the same did this break the `--all-features` flag. To provide an easy alternative, I introduced the `full` feature here. # User-Facing Changes Instead of `cargo install nu --all-features`, you now can do `cargo install nu --features full`. # Tests + Formatting No new tests, this is just a feature collection. --- Cargo.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index d9f688fc8b..95e5d00599 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -257,6 +257,10 @@ serial_test = "3.2" tempfile = { workspace = true } [features] +# Enable all features while still avoiding mutually exclusive features. +# Use this if `--all-features` fails. +full = ["plugin", "rustls-tls", "system-clipboard", "trash-support", "sqlite"] + plugin = [ # crates "nu-cmd-plugin",