Cargo Features
[dependencies]
ratatui-image = { version = "10.0.6", default-features = false, features = ["crossterm", "image-defaults", "termion", "termwiz", "serde", "tokio", "thread-example", "chafa-dyn", "chafa-static"] }
- default = chafa-dyn, crossterm, image-defaults
-
These default features are set whenever
ratatui-imageis added withoutsomewhere in the dependency tree.default-features = false - crossterm default
-
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.Required by the binary
- image-defaults default
-
Enables image
- termion
-
ratatui:
enables the
TermionBackendbackend and adds a dependency ontermion. - termwiz
-
ratatui:
enables the
TermwizBackendbackend and adds a dependency ontermwiz. - serde
-
Enables serde
- tokio
-
Enables tokio
- thread-example
- chafa-dyn build default
-
Enables pkg-config
- chafa-static build
-
Enables pkg-config