Cargo Features

narrate = { version = "0.4.1", default-features = false, features = ["cli-error", "anyhow", "error", "report"] }
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

anyhow error report

Enables anyhow

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