[package]
edition = "2024"
name = "iced-cube"
version = "0.0.6"
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",
]
avatar = [
"iced/advanced",
"iced/image-without-codecs",
]
badge = ["iced/advanced"]
breadcrumb = []
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",
"json-viewer",
"log-viewer",
"property-grid",
"virtual-list",
]
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",
]
document-tabs = [
"iced/advanced",
"context-menu",
"dropdown-menu",
"icon-button",
]
dropdown-menu = [
"iced/advanced",
"scroll-area",
]
feedback = [
"alert",
"avatar",
"badge",
"progress",
"spinner",
]
field = []
forms = [
"combobox",
"field",
"select",
"textarea",
]
full = [
"primitives",
"forms",
"layout",
"navigation",
"overlay",
"feedback",
"application",
"data",
]
icon-button = [
"button",
"tooltip",
]
input = []
json-viewer = [
"iced/advanced",
"alert",
"context-menu",
"icon-button",
"input",
"scroll-area",
"dep:serde_json",
]
layout = [
"card",
"stack",
"accordion",
"resizable-panel",
"split-pane",
]
log-viewer = [
"virtual-list",
"button",
"context-menu",
"icon-button",
"input",
"toggle-group",
]
menubar = ["dropdown-menu"]
navigation = [
"breadcrumb",
"command",
"pagination",
"tabs",
"sidebar",
"document-tabs",
]
overlay = [
"tooltip",
"toast",
"dialog",
"popover",
"dropdown-menu",
"context-menu",
]
pagination = ["button"]
popover = ["iced/advanced"]
primitives = [
"button",
"icon-button",
"input",
"checkbox",
"radio",
"switch",
"slider",
"scroll-area",
"separator",
"toggle",
"toggle-group",
]
progress = []
property-grid = [
"iced/advanced",
"checkbox",
"context-menu",
"icon-button",
"input",
"scroll-area",
"select",
"switch",
"tooltip",
]
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",
]
toggle = ["iced/advanced"]
toggle-group = ["toggle"]
tokio = ["iced/tokio"]
toolbar = [
"icon-button",
"dropdown-menu",
"separator",
]
tooltip = []
tree = [
"iced/advanced",
"badge",
"checkbox",
"context-menu",
"scroll-area",
]
virtual-list = [
"iced/advanced",
"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 = "avatar"
path = "tests/avatar.rs"
[[test]]
name = "badge"
path = "tests/badge.rs"
[[test]]
name = "breadcrumb"
path = "tests/breadcrumb.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 = "document_tabs"
path = "tests/document_tabs.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 = "json_viewer"
path = "tests/json_viewer.rs"
[[test]]
name = "label"
path = "tests/label.rs"
[[test]]
name = "log_viewer"
path = "tests/log_viewer.rs"
[[test]]
name = "menubar"
path = "tests/menubar.rs"
[[test]]
name = "pagination"
path = "tests/pagination.rs"
[[test]]
name = "popover"
path = "tests/popover.rs"
[[test]]
name = "progress"
path = "tests/progress.rs"
[[test]]
name = "property_grid"
path = "tests/property_grid.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 = "toggle"
path = "tests/toggle.rs"
[[test]]
name = "toggle_group"
path = "tests/toggle_group.rs"
[[test]]
name = "toolbar"
path = "tests/toolbar.rs"
[[test]]
name = "tooltip"
path = "tests/tooltip.rs"
[[test]]
name = "tree"
path = "tests/tree.rs"
[[test]]
name = "virtual_list"
path = "tests/virtual_list.rs"
[dependencies.iced]
version = "0.14.0"
features = [
"svg",
"advanced",
]
default-features = false
[dependencies.lucide-static-svg]
version = "1.48.0"
[dependencies.num-traits]
version = "0.2.19"
optional = true
[dependencies.serde_json]
version = "1.0.154"
features = ["preserve_order"]
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)"]