Cargo Features

[dependencies]
nix-installer = { version = "0.23.0", default-features = false, features = ["determinate-nix", "cli", "diagnostics"] }
default = cli, determinate-nix, diagnostics

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

determinate-nix default

Affects settings::DETERMINATE_NIXD_BINARY

cli default = clap, color-eyre, eyre, tracing-error, tracing-subscriber

Affects nix-installer::cli

Required by the binary

diagnostics default = is_ci

Affects nix-installer::diagnostics, planner::Planner.diagnostic_data, settings::CommonSettings.diagnostic_attribution, settings::CommonSettings.diagnostic_endpoint

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.

clap cli
color-eyre cli
eyre cli
tracing-error cli
tracing-subscriber cli
is_ci diagnostics