Cargo Features
[dependencies]
ratatui-image = { version = "3.0.0", default-features = false, features = ["crossterm", "image-defaults", "termion", "termwiz", "serde"] }
- default = image-defaults
-
The
image-defaults
feature is set by default wheneverratatui-image
is added without
somewhere in the dependency tree.default-features = false - crossterm
-
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
.Required by the binary
- image-defaults default
-
Enables image
- termion
-
ratatui:
enables the
TermionBackend
backend and adds a dependency ontermion
. - termwiz
-
ratatui:
enables the
TermwizBackend
backend and adds a dependency ontermwiz
. - serde
-
Enables serde