Cargo Features

[dependencies]
ratatui-image = { version = "1.0.0", default-features = false, features = ["crossterm", "image-defaults", "termion", "termwiz", "serde", "rustix"] }
default = image-defaults, rustix

These default features are set whenever ratatui-image is added without default-features = false somewhere in the dependency tree.

crossterm

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 on the [Crossterm crate].

Required by the binary

image-defaults default

Enables image ^0.24.5

termion

Enables termion and termion of ratatui

ratatui:

enables the TermionBackend backend and adds a dependency on the [Termion crate].

termwiz

Enables termwiz and termwiz of ratatui

ratatui:

enables the TermwizBackend backend and adds a dependency on the [Termwiz crate].

serde

Enables serde

rustix default

Enables rustix

Affects picker::font_size