Cargo Features

[dependencies]
narrate = { version = "0.4.2", default-features = false, features = ["cli-error", "error", "report", "anyhow"] }
default = cli-error, error, report

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

cli-error default

Enables exitcode

Affects narrate::ExitCode, narrate::CliError

error default = anyhow

Affects narrate::Error, narrate::Chain, narrate::Result, narrate::ErrorWrap, report::err, report::err_full

Required by report_err_full_test and report_err_test binaries

report default = anyhow

Enables atty and colored

Affects narrate::report

Required by report_anyhow_err_full_test, report_anyhow_err_test, report_err_full_test, report_err_test and status_test binaries

anyhow error report

Enables anyhow