Cargo Features

[dependencies]
termprogress = { version = "0.10.0", default-features = false, features = ["size", "reactive"] }
default = size

The size feature is set by default whenever termprogress is added without default-features = false somewhere in the dependency tree.

size default = terminal_size

Use terminal size when drawing bars.

Affects termprogress::has_terminal_output_default, termprogress::has_terminal_output

reactive

React to SIGWINCH when stdout is a terminal (linux only.)

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.

terminal_size size

Enables terminal_size ^0.1