[package]
edition = "2024"
name = "iced-cube"
version = "0.0.3"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Themeable application components for the iced GUI library, with Lucide icons"
homepage = "https://sam-ruff.github.io/iced-cube/"
documentation = "https://docs.rs/iced-cube"
readme = "README.md"
keywords = [
"iced",
"gui",
"components",
"ui",
"widgets",
]
categories = ["gui"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/sam-ruff/iced-cube"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
accordion = []
alert = []
application = [
"menubar",
"toolbar",
"status-bar",
"command-palette",
]
badge = ["iced/advanced"]
button = ["iced/advanced"]
card = []
checkbox = []
combobox = [
"input",
"iced/advanced",
]
command = ["iced/advanced"]
command-palette = [
"command",
"dialog",
"button",
]
context-menu = ["dropdown-menu"]
data = [
"tree",
"data-table",
]
data-table = [
"iced/advanced",
"badge",
"button",
"checkbox",
"context-menu",
"icon-button",
"input",
"scroll-area",
"select",
]
default = [
"x11",
"wayland",
"thread-pool",
"full",
]
dialog = [
"button",
"icon-button",
"iced/advanced",
]
dropdown-menu = ["iced/advanced"]
feedback = [
"alert",
"badge",
"progress",
"spinner",
]
field = []
forms = [
"combobox",
"field",
"select",
"textarea",
]
full = [
"primitives",
"forms",
"layout",
"navigation",
"overlay",
"feedback",
"application",
"data",
]
icon-button = [
"button",
"tooltip",
]
input = []
layout = [
"card",
"stack",
"accordion",
"resizable-panel",
"split-pane",
]
menubar = ["dropdown-menu"]
navigation = [
"command",
"tabs",
"sidebar",
]
overlay = [
"tooltip",
"toast",
"dialog",
"popover",
"dropdown-menu",
"context-menu",
]
popover = ["iced/advanced"]
primitives = [
"button",
"icon-button",
"input",
"checkbox",
"radio",
"switch",
"slider",
"scroll-area",
"separator",
]
progress = []
radio = []
resizable-panel = ["iced/advanced"]
scroll-area = []
select = ["iced/advanced"]
separator = []
sidebar = [
"iced/advanced",
"tooltip",
"icon-button",
]
slider = [
"iced/advanced",
"dep:num-traits",
]
spinner = ["iced/advanced"]
split-pane = ["resizable-panel"]
stack = []
status-bar = [
"button",
"badge",
"progress",
"spinner",
"tooltip",
]
switch = []
tabs = ["iced/advanced"]
textarea = ["input"]
thread-pool = ["iced/thread-pool"]
toast = [
"button",
"icon-button",
]
tokio = ["iced/tokio"]
toolbar = [
"icon-button",
"dropdown-menu",
"separator",
]
tooltip = []
tree = [
"iced/advanced",
"badge",
"checkbox",
"context-menu",
"scroll-area",
]
wayland = ["iced/wayland"]
x11 = ["iced/x11"]
[lib]
name = "iced_cube"
path = "src/lib.rs"
[[test]]
name = "accordion"
path = "tests/accordion.rs"
[[test]]
name = "alert"
path = "tests/alert.rs"
[[test]]
name = "badge"
path = "tests/badge.rs"
[[test]]
name = "button"
path = "tests/button.rs"
[[test]]
name = "card"
path = "tests/card.rs"
[[test]]
name = "checkbox"
path = "tests/checkbox.rs"
[[test]]
name = "combobox"
path = "tests/combobox.rs"
[[test]]
name = "command"
path = "tests/command.rs"
[[test]]
name = "command_palette"
path = "tests/command_palette.rs"
[[test]]
name = "composition"
path = "tests/composition.rs"
[[test]]
name = "context_menu"
path = "tests/context_menu.rs"
[[test]]
name = "data_table"
path = "tests/data_table.rs"
[[test]]
name = "dialog"
path = "tests/dialog.rs"
[[test]]
name = "dropdown_menu"
path = "tests/dropdown_menu.rs"
[[test]]
name = "icon_button"
path = "tests/icon_button.rs"
[[test]]
name = "input"
path = "tests/input.rs"
[[test]]
name = "label"
path = "tests/label.rs"
[[test]]
name = "menubar"
path = "tests/menubar.rs"
[[test]]
name = "popover"
path = "tests/popover.rs"
[[test]]
name = "progress"
path = "tests/progress.rs"
[[test]]
name = "radio"
path = "tests/radio.rs"
[[test]]
name = "resizable_panel"
path = "tests/resizable_panel.rs"
[[test]]
name = "scroll_area"
path = "tests/scroll_area.rs"
[[test]]
name = "select"
path = "tests/select.rs"
[[test]]
name = "separator"
path = "tests/separator.rs"
[[test]]
name = "sidebar"
path = "tests/sidebar.rs"
[[test]]
name = "slider"
path = "tests/slider.rs"
[[test]]
name = "spinner"
path = "tests/spinner.rs"
[[test]]
name = "split_pane"
path = "tests/split_pane.rs"
[[test]]
name = "stack"
path = "tests/stack.rs"
[[test]]
name = "status_bar"
path = "tests/status_bar.rs"
[[test]]
name = "switch"
path = "tests/switch.rs"
[[test]]
name = "tabs"
path = "tests/tabs.rs"
[[test]]
name = "textarea"
path = "tests/textarea.rs"
[[test]]
name = "toast"
path = "tests/toast.rs"
[[test]]
name = "toolbar"
path = "tests/toolbar.rs"
[[test]]
name = "tooltip"
path = "tests/tooltip.rs"
[[test]]
name = "tree"
path = "tests/tree.rs"
[dependencies.iced]
version = "0.14.0"
features = ["svg"]
default-features = false
[dependencies.lucide-static-svg]
version = "1.48.0"
[dependencies.num-traits]
version = "0.2.19"
optional = true
[dev-dependencies.futures]
version = "0.3.34"
[dev-dependencies.iced]
version = "0.14.0"
features = [
"svg",
"advanced",
"tiny-skia",
]
default-features = false
[dev-dependencies.iced_test]
version = "0.14.0"
[dev-dependencies.png]
version = "0.18.1"
[lints.clippy]
expect_used = "warn"
unwrap_used = "warn"
[lints.rust]
missing_debug_implementations = "warn"
unsafe_code = "forbid"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(docsrs)"]