Cargo Features
[dependencies]
ratatui-textarea = { version = "0.4.1", default-features = false, features = ["crossterm", "termion", "your-backend", "search", "arbitrary"] }
- default = crossterm
-
The
crosstermfeature is set by default wheneverratatui-textareais added withoutsomewhere in the dependency tree.default-features = false - crossterm default
-
Enables crossterm ^0.27 and crossterm of ratatui ^0.24
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 ^2.0 and termion of ratatui ^0.24
ratatui:
enables the
TermionBackendbackend and adds a dependency ontermion. - your-backend = ratatui
- search
-
Other optional features
Enables regex
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.
- ratatui crossterm termion? your-backend?
-
Enables ratatui ^0.24
- arbitrary implicit feature
-
Enables arbitrary
arbitrary:
The trait for generating structured data from unstructured data