Cargo Features
Crosstermion has no features set by default.
[dependencies]
crosstermion = { version = "0.14.0", features = ["color", "input-async", "input-async-crossterm", "tui-crossterm", "tui-react-crossterm", "tui-crossterm-backend"] }
- color = ansiterm
- input-async input-async-crossterm? = async-channel, futures-channel, futures-core, futures-lite
- input-async-crossterm = input-async
-
Enables event-stream of crossterm ^0.27.0
crossterm:
Enables async events
Affects
input::key_input_stream
,input::input_stream
… - tui-crossterm = crossterm, tui, tui-crossterm-backend
- tui-react-crossterm = crossterm, tui, tui-crossterm-backend, tui-react
- tui-crossterm-backend tui-crossterm? tui-react-crossterm?
-
Enables crossterm of ratatui ^0.26.0
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
.
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.
- crossterm input-async-crossterm? tui-crossterm? tui-react-crossterm?
-
Enables crossterm ^0.27.0
Affects
crosstermion::input
,crosstermion::terminal
,crosstermion::cursor
… - futures-channel input-async?
- futures-core input-async?
- futures-lite input-async?
- tui tui-crossterm? tui-crossterm-backend? tui-react-crossterm?
-
Enables ratatui ^0.26.0
- tui-react tui-react-crossterm?
- ansiterm color?
- async-channel input-async?