Cargo Features
[dependencies]
tui-textarea = { version = "0.7.0", default-features = false, features = ["ratatui", "crossterm", "termion", "termwiz", "no-backend", "tuirs", "tuirs-crossterm", "tuirs-termion", "tuirs-no-backend", "search", "serde", "arbitrary"] }
- default = crossterm
-
The
crossterm
feature is set by default whenevertui-textarea
is added without
somewhere in the dependency tree.default-features = false - ratatui crossterm no-backend? termion? termwiz?
-
Features to use ratatui
Enables ratatui
- crossterm default = ratatui
-
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 oncrossterm
. - termion = ratatui
-
Enables termion and termion of ratatui
ratatui:
enables the
TermionBackend
backend and adds a dependency ontermion
. - termwiz = ratatui
-
Enables termwiz and termwiz of ratatui
ratatui:
enables the
TermwizBackend
backend and adds a dependency ontermwiz
. - no-backend = ratatui
- tuirs tuirs-crossterm? tuirs-no-backend? tuirs-termion?
-
Features to use tui-rs
Enables tui
- tuirs-crossterm = tuirs
-
Enables crossterm ^0.25, crossterm of tui
- tuirs-termion = tuirs
-
Enables termion ^1.5, termion of tui
- tuirs-no-backend = tuirs
- search
-
Other optional features
Enables regex
- serde
-
Enables serde
- arbitrary
-
Enables arbitrary