Cargo Features
[dependencies]
tui-widgets = { version = "0.5.0", default-features = false, features = ["bar-graph", "big-text", "box-text", "cards", "popup", "prompts", "qrcode", "scrollview"] }
- default = bar-graph, big-text, box-text, cards, popup, prompts, qrcode, scrollview
-
features
By default, all the widgets are enabled.
- bar-graph default = tui-bar-graph
-
Enables the
bar_graphwidget - big-text default = tui-big-text
-
Enables the
big_textwidget - box-text default = tui-box-text
-
Enables the
box_textwidget - cards default = tui-cards
-
Enables the
cardswidget - popup default = tui-popup
-
Enables the
popupwidget - prompts default = tui-prompts
-
Enables the
promptswidget - qrcode default = tui-qrcode
-
Enables the
qrcodewidget - scrollview default = tui-scrollview
-
Enables the
scrollviewwidget
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.