Cargo Features

[dependencies]
iced_aw = { version = "0.8.0", default-features = false, features = ["badge", "card", "date_picker", "color_picker", "cupertino", "floating_element", "grid", "glow", "icons", "modal", "tab_bar", "tabs", "time_picker", "wrap", "number_input", "selection_list", "split", "menu", "quad", "spinner", "context_menu", "segmented_button", "slide_bar", "drop_down"] }
badge default

Affects helpers::badge, native::badge, native::Badge, style::badge

card default

Affects helpers::card, native::card, native::Card, style::card

date_picker default = chrono, icons, once_cell

Affects core::date, helpers::date_picker, native::date_picker, overlay::date_picker, style::date_picker

color_picker default = icons

Enables canvas of iced

iced:

Enables the Canvas widget

Affects core::color, helpers::color_picker, native::color_picker, overlay::color_picker, style::color_picker

cupertino default = time

Enables canvas of iced

Affects graphics::SF_UI_ROUNDED_BYTES, graphics::SF_UI_ROUNDED, native::cupertino

floating_element default

Affects helpers::floating_element, native::floating_element, native::FloatingElement, overlay::floating_element

grid default = itertools

Affects helpers::grid, helpers::grid_row, native::grid, native::Grid

glow

TODO

default = badge, card, color_picker, context_menu, cupertino, date_picker, drop_down, floating_element, grid, menu, modal, number_input, quad, segmented_button, selection_list, slide_bar, spinner, split, tab_bar, tabs, time_picker, wrap

These default features are set whenever iced_aw is added without default-features = false somewhere in the dependency tree.

icons color_picker date_picker time_picker
modal default

Affects helpers::modal, native::modal, native::Modal, overlay::modal, style::modal

tab_bar default tabs

Affects native::tab_bar, native::TabBar, style::tab_bar

tabs default = tab_bar

Affects native::tabs, native::Tabs

time_picker default = chrono, icons

Enables canvas of iced

Affects core::clock, core::time, helpers::time_picker, native::time_picker, overlay::time_picker, style::time_picker

wrap default

Affects helpers::wrap_horizontal, helpers::wrap_vertical, native::wrap, native::Wrap

number_input default = num-traits

Affects helpers::number_input, native::number_input, native::NumberInput, style::number_input

selection_list default

Affects helpers::selection_list_with, helpers::selection_list, native::selection_list, native::SelectionList, style::selection_list

split default

Affects native::split, native::Split, style::split

menu default

Affects native::menu, style::menu_bar

quad default

Affects native::quad

spinner default

Affects native::spinner, native::Spinner, style::spinner

context_menu default

Affects native::context_menu, native::ContextMenu, overlay::context_menu, style::context_menu

segmented_button default

Affects native::segmented_button, native::SegmentedButton, style::segmented_button

slide_bar default

Affects native::slide_bar

drop_down default

Affects core::offset, core::alignment, native::drop_down, native::DropDown

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

num-traits number_input
time cupertino
chrono date_picker time_picker
once_cell date_picker
itertools grid