Cargo Features

[dependencies]
game2048-rs = { version = "0.1.1", default-features = false, features = ["ncurses-backend", "pancurses-backend", "termion-backend", "crossterm-backend", "blt-backend"] }
default = crossterm-backend

The crossterm-backend feature is set by default whenever game2048-rs is added without default-features = false somewhere in the dependency tree.

ncurses-backend

Enables ncurses-backend of cursive ^0.20

cursive:

Enable the ncurses backend.

Affects backend::backend

pancurses-backend

Enables pancurses-backend of cursive ^0.20

cursive:

Enable the pancurses backend.

Affects backend::backend

termion-backend

Enables termion-backend of cursive ^0.20

cursive:

Enable the termion backend.

Affects backend::backend

crossterm-backend default

Enables crossterm-backend of cursive ^0.20

cursive:

Enable the crossterm backend.

Affects backend::backend

blt-backend

Enables blt-backend of cursive ^0.20

cursive:

Enable the BearLibTerminal backend. Requires BLT to be installed separately.

Affects backend::backend