Cargo Features
[dependencies]
terminal = { version = "0.2.1", default-features = false, features = ["termion-backend", "crossterm-backend", "crosscurses-backend"] }
Features
- default = crossterm-backend
-
The
crossterm-backend
feature is set by default wheneverterminal
is added without
somewhere in the dependency tree.default-features = false - termion-backend = crossbeam-channel, libc, signal-hook, termion
- crossterm-backend default = crossterm
- crosscurses-backend = crosscurses, libc
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.
Shared dependencies
- crossbeam-channel unix termion-backend?
-
Enables crossbeam-channel ^0.4.0
- crosscurses crosscurses-backend?
- crossterm crossterm-backend
-
Enables crossterm ^0.15
- signal-hook unix termion-backend?
-
Enables signal-hook ^0.1.13
- termion termion-backend?
-
Enables termion ^1.5.3
- libc unix crosscurses-backend? termion-backend?