Cargo Features
[dependencies]
tui-textarea-julien-cpsn = { version = "0.4.1", default-features = false, features = ["ratatui", "crossterm", "termion", "termwiz", "no-backend", "tuirs", "tuirs-crossterm", "tuirs-termion", "tuirs-no-backend", "search", "syntax-highlighting", "arbitrary"] }
- default = crossterm
-
The
crossterm
feature is set by default whenevertui-textarea-julien-cpsn
is added without
somewhere in the dependency tree.default-features = false - ratatui crossterm no-backend? termion? termwiz?
-
Features to use ratatui
Enables ratatui ^0.27.0
- crossterm default = ratatui
-
Enables crossterm ^0.27 and crossterm of ratatui ^0.27.0
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 ^0.27.0
ratatui:
enables the
TermionBackend
backend and adds a dependency ontermion
. - termwiz = ratatui
-
Enables termwiz and termwiz of ratatui ^0.27.0
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
- tuirs-no-backend = tuirs
- search
-
Other optional features
Enables regex
- syntax-highlighting
-
Enables lazy_static and syntect
Affects
textarea::TextArea.extension
…