Cargo Features
[dependencies]
exhibit = { version = "0.2.0", default-features = false, features = ["ansi", "unicode", "cursor", "cursor-crossterm", "cursor-termion"] }
- default = ansi, cursor, unicode
-
These default features are set whenever
exhibit
is added without
somewhere in the dependency tree.default-features = false - ansi default = strip-ansi-escapes
- unicode default = unicode-width
- cursor default = cursor-crossterm
- cursor-crossterm cursor = crossterm
- cursor-termion = termion
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 cursor-crossterm?
-
Enables crossterm ^0.24.0
- similar ansi
- strip-ansi-escapes ansi
-
Enables strip-ansi-escapes ^0.1.1
- termion cursor-termion?
-
Enables termion ^1.5.6
- unicode-width unicode
-
Enables unicode-width ^0.1.9