# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.88"
name = "iced_aw"
version = "0.13.1"
authors = [
    "Kaiden42 <gitlab@tinysn.com>",
    "Andrew Wheeler <genusistimelord@gmail.com>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Additional widgets for the Iced GUI library"
homepage = "https://iced.rs"
readme = "README.md"
keywords = [
    "gui",
    "graphics",
    "interface",
    "widgets",
    "iced",
]
categories = ["gui"]
license = "MIT"
repository = "https://github.com/iced-rs/iced_aw"

[features]
badge = []
card = []
color_picker = ["iced_widget/canvas"]
context_menu = []
custom_layout = []
date_picker = ["chrono"]
debug_log = ["log"]
default = ["full"]
drop_down = []
full = [
    "badge",
    "card",
    "number_input",
    "date_picker",
    "color_picker",
    "tab_bar",
    "tabs",
    "time_picker",
    "slide_bar",
    "wrap",
    "selection_list",
    "quad",
    "context_menu",
    "spinner",
    "drop_down",
    "menu",
    "sidebar",
    "labeled_frame",
    "custom_layout",
]
labeled_frame = []
menu = []
number_input = [
    "num-format",
    "num-traits",
    "typed_input",
]
quad = []
selection_list = []
sidebar = []
slide_bar = []
spinner = []
tab_bar = []
tabs = ["tab_bar"]
time_picker = [
    "chrono",
    "iced_widget/canvas",
]
typed_input = []
wrap = []

[lib]
name = "iced_aw"
crate-type = [
    "cdylib",
    "rlib",
]
path = "src/lib.rs"

[[example]]
name = "badge"
path = "examples/badge.rs"
required-features = ["badge"]

[[example]]
name = "card"
path = "examples/card.rs"
required-features = ["card"]

[[example]]
name = "color_picker"
path = "examples/color_picker.rs"
required-features = [
    "color_picker",
    "iced/smol",
]

[[example]]
name = "context_menu"
path = "examples/context_menu.rs"
required-features = ["context_menu"]

[[example]]
name = "custom_layout"
path = "examples/custom_layout.rs"
required-features = ["labeled_frame"]

[[example]]
name = "date_picker"
path = "examples/date_picker.rs"
required-features = ["date_picker"]

[[example]]
name = "drop_down"
path = "examples/drop_down.rs"
required-features = ["drop_down"]

[[example]]
name = "drop_down_test"
path = "examples/drop_down_test.rs"
required-features = ["drop_down"]

[[example]]
name = "dropdown_pos"
path = "examples/dropdown_pos.rs"

[[example]]
name = "labeled_frame"
path = "examples/labeled_frame.rs"
required-features = ["labeled_frame"]

[[example]]
name = "menu"
path = "examples/menu.rs"
required-features = ["menu"]

[[example]]
name = "number_input"
path = "examples/number_input.rs"
required-features = ["number_input"]

[[example]]
name = "selection_list"
path = "examples/selection_list.rs"
required-features = ["selection_list"]

[[example]]
name = "side_bar"
path = "examples/side_bar/main.rs"
required-features = [
    "sidebar",
    "iced/image",
]

[[example]]
name = "slide_bar"
path = "examples/slide_bar.rs"
required-features = ["slide_bar"]

[[example]]
name = "spinner"
path = "examples/spinner.rs"
required-features = ["spinner"]

[[example]]
name = "tab_bar"
path = "examples/tab_bar.rs"
required-features = ["tab_bar"]

[[example]]
name = "tabs"
path = "examples/tabs/main.rs"
required-features = [
    "tabs",
    "iced/image",
]

[[example]]
name = "tabs_noshow"
path = "examples/tabs_noshow.rs"

[[example]]
name = "time_picker"
path = "examples/time_picker.rs"
required-features = ["time_picker"]

[[example]]
name = "typed_input"
path = "examples/typed_input.rs"
required-features = ["typed_input"]

[[example]]
name = "widget_id_return"
path = "examples/widget_id_return/main.rs"
required-features = ["number_input"]

[[example]]
name = "wrap"
path = "examples/wrap.rs"
required-features = [
    "wrap",
    "number_input",
]

[[test]]
name = "badge_integration_tests"
path = "tests/badge_integration_tests.rs"

[[test]]
name = "card_integration_tests"
path = "tests/card_integration_tests.rs"

[[test]]
name = "color_picker_integration_tests"
path = "tests/color_picker_integration_tests.rs"

[[test]]
name = "context_menu_integration_tests"
path = "tests/context_menu_integration_tests.rs"

[[test]]
name = "custom_layout_integration_tests"
path = "tests/custom_layout_integration_tests.rs"

[[test]]
name = "date_picker_integration_tests"
path = "tests/date_picker_integration_tests.rs"

[[test]]
name = "drop_down_integration_tests"
path = "tests/drop_down_integration_tests.rs"

[[test]]
name = "icon_test"
path = "tests/icon_test.rs"

[[test]]
name = "menu_bar_integration_tests"
path = "tests/menu_bar_integration_tests.rs"

[[test]]
name = "number_input_integration_tests"
path = "tests/number_input_integration_tests.rs"

[[test]]
name = "selection_list_integration_tests"
path = "tests/selection_list_integration_tests.rs"

[[test]]
name = "sidebar_integration_tests"
path = "tests/sidebar_integration_tests.rs"

[[test]]
name = "slide_bar_integration_tests"
path = "tests/slide_bar_integration_tests.rs"

[[test]]
name = "tab_bar_integration_tests"
path = "tests/tab_bar_integration_tests.rs"

[[test]]
name = "time_picker_integration_tests"
path = "tests/time_picker_integration_tests.rs"

[[test]]
name = "typed_input_integration_tests"
path = "tests/typed_input_integration_tests.rs"

[[test]]
name = "wrap_integration_tests"
path = "tests/wrap_integration_tests.rs"

[dependencies.cfg-if]
version = "1.0"

[dependencies.chrono]
version = "0.4.44"
features = ["wasmbind"]
optional = true

[dependencies.iced_core]
version = "0.14.0"

[dependencies.iced_fonts]
version = "0.3.0"
features = ["advanced_text"]

[dependencies.iced_widget]
version = "0.14.2"

[dependencies.log]
version = "0.4"
optional = true

[dependencies.num-format]
version = "0.4.4"
optional = true

[dependencies.num-traits]
version = "0.2.19"
optional = true

[dependencies.web-time]
version = "1.1.0"

[dev-dependencies.env_logger]
version = "0.11.9"

[dev-dependencies.getrandom]
version = "0.4.1"
features = ["wasm_js"]

[dev-dependencies.iced]
version = "0.14.0"
features = ["advanced"]

[dev-dependencies.iced_test]
version = "0.14"

[dev-dependencies.rand]
version = "0.10.0"
