# 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 = "2021"
rust-version = "1.80"
name = "iced_aw"
version = "0.12.2"
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/canvas"]
context_menu = []
date_picker = ["chrono"]
default = [
    "badge",
    "card",
    "number_input",
    "date_picker",
    "color_picker",
    "grid",
    "tab_bar",
    "tabs",
    "time_picker",
    "slide_bar",
    "wrap",
    "selection_list",
    "quad",
    "context_menu",
    "spinner",
    "drop_down",
    "menu",
    "sidebar",
]
drop_down = []
glow = []
grid = ["itertools"]
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/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"]

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

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

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

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

[[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 = "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",
]

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

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

[dependencies.getrandom]
version = "0.3.1"

[dependencies.iced]
version = "0.13.1"
features = ["advanced"]
default-features = false

[dependencies.iced_fonts]
version = "0.1.1"

[dependencies.itertools]
version = "0.14.0"
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.iced]
version = "0.13.0"
features = [
    "advanced",
    "wgpu",
]

[dev-dependencies.num-traits]
version = "0.2.19"

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

[profile.dev.package."*"]
opt-level = 2
