Cargo Features

TUI_LOGGER has no features set by default.

[dependencies]
tui-logger = { version = "0.14.0", features = ["slog-support", "tracing-support", "feature_crossterm_or_termion_must_be_selected", "crossterm", "termion"] }
slog-support = slog

Affects tui-logger::slog_drain

tracing-support = tracing, tracing-subscriber

Affects tui-logger::tracing_subscriber_layer

feature_crossterm_or_termion_must_be_selected crossterm? termion?

only necessary for the demo, the crate does has no dependencies on these
feature_crossterm_or_termion_must_be_selected to generate one line error message instead of many compile error messages, if neither crossterm nor termion are selected.

crossterm = feature_crossterm…must_be_selected

Enables crossterm of ratatui

the crate is compatible with ratatui >=0.25.0, but the demo uses features from 0.27.0

termion = feature_crossterm…must_be_selected

Enables termion of ratatui

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.

tracing tracing-support?
tracing-subscriber tracing-support?
slog slog-support?