Cargo Features

[dependencies]
tuirealm = { version = "3.0.1", default-features = false, features = ["async-ports", "derive", "serialize", "crossterm", "termion"] }
default = crossterm, derive

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

async-ports

Enables async-trait, futures-util, tokio, and tokio-util and event-stream of optional crossterm

crossterm:

Optional Features

Enables the EventStream struct for async event reading.

Affects listener::PollAsync, mock::MockPollAsync

derive default

Enables tuirealm_derive

serialize

Enables serde, serde of bitflags

crossterm default

Enables crossterm and crossterm of ratatui

ratatui:

Generally an application will only use one backend, so you should only enable one of the following features: enables the CrosstermBackend backend and adds a dependency on crossterm.

termion

Enables termion and termion of ratatui

ratatui:

enables the TermionBackend backend and adds a dependency on termion.

OSZAR »