Cargo Features

[dependencies]
lscolors = { version = "0.17.0", default-features = false, features = ["gnu_legacy", "ansi_term", "crossterm"] }
default = nu-ansi-term

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

gnu_legacy

Enables gnu_legacy of nu-ansi-term

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

ansi_term implicit feature

Enables ansi_term

ansi_term:

Library for ANSI terminal colours and styles (bold, underline)

nu-ansi-term default gnu_legacy?
crossterm implicit feature

Enables crossterm

crossterm:

A crossplatform terminal library for manipulating terminals