Cargo Features
[dependencies]
tuirealm = { version = "3.3.0", default-features = false, features = ["async-ports", "derive", "serialize", "crossterm", "termion"] }
- default = crossterm, derive
-
These default features are set whenever
tuirealmis added withoutsomewhere in the dependency tree.default-features = false - 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
- crossterm default
-
Enables crossterm and crossterm of ratatui ^0.29
ratatui:
Generally an application will only use one backend, so you should only enable one of the following features: enables the
CrosstermBackendbackend and adds a dependency oncrossterm. - termion
-
Enables termion and termion of ratatui ^0.29
ratatui:
enables the
TermionBackendbackend and adds a dependency ontermion.