shadow-design 0.4.0

Modular, high-performance UI component library for Dioxus 0.7 applications
# 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"
name = "shadow-design"
version = "0.4.0"
authors = [
    "ShadowfenixRaD",
    "Christian Torbidone <killerbossoriginal@gmail.com>",
]
build = "build.rs"
include = [
    "src/**/*",
    "scss/**/*",
    "tests/**/*",
    "build.rs",
    "README.md",
    "CHANGELOG.md",
    "Cargo.toml",
    "LICENSE*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Modular, high-performance UI component library for Dioxus 0.7 applications"
readme = "README.md"
keywords = [
    "dioxus",
    "ui",
    "components",
    "wasm",
    "web",
]
categories = [
    "gui",
    "wasm",
    "web-programming",
]
license = "MIT OR Apache-2.0"
repository = "https://source.shadowfenix.net/development/shadow-design"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
accordion = ["icon"]
alert = ["icon"]
all = [
    "button",
    "card",
    "input",
    "select",
    "textarea",
    "checkbox",
    "badge",
    "navbar",
    "modal",
    "alert",
    "theme",
    "icon",
    "typography",
    "notification",
    "tabs",
    "switch",
    "tooltip",
    "drawer",
    "dropdown",
    "animation",
    "avatar",
    "chat",
    "progress",
    "attachment_card",
    "contact_card",
    "segmented_control",
    "divider",
    "tree",
    "skeleton",
    "number_input",
    "radio",
    "slider",
    "rating",
    "pin_input",
    "color_picker",
    "chip",
    "accordion",
    "spoiler",
    "list",
    "timeline",
    "table",
    "scroll_area",
    "breadcrumbs",
    "pagination",
    "nav_link",
    "bottom_navigation",
    "stepper",
    "menubar",
    "app_shell",
]
animation = []
app-shell = ["app_shell"]
app_shell = []
attachment-card = ["attachment_card"]
attachment_card = [
    "card",
    "icon",
    "progress",
    "button",
]
avatar = ["icon"]
badge = []
bottom-navigation = ["bottom_navigation"]
bottom_navigation = [
    "icon",
    "badge",
]
breadcrumbs = ["icon"]
button = []
card = []
chat = ["icon"]
checkbox = ["icon"]
chip = ["icon"]
color-picker = ["color_picker"]
color_picker = ["icon"]
contact-card = ["contact_card"]
contact_card = [
    "card",
    "avatar",
]
default = ["all"]
divider = []
drawer = ["icon"]
dropdown = ["icon"]
icon = []
input = ["icon"]
list = []
menubar = ["icon"]
modal = ["icon"]
nav-link = ["nav_link"]
nav_link = [
    "icon",
    "badge",
]
navbar = ["icon"]
notification = ["icon"]
number-input = ["number_input"]
number_input = ["icon"]
pagination = ["icon"]
pin-input = ["pin_input"]
pin_input = []
progress = []
radio = ["icon"]
rating = ["icon"]
scroll-area = ["scroll_area"]
scroll_area = []
segmented-control = ["segmented_control"]
segmented_control = ["icon"]
select = ["icon"]
serde = ["dep:serde"]
skeleton = []
slider = ["tooltip"]
spoiler = [
    "button",
    "icon",
]
stepper = ["icon"]
switch = []
table = []
tabs = ["icon"]
textarea = ["icon"]
theme = []
timeline = []
tooltip = []
tree = ["icon"]
typography = []

[lib]
name = "shadow_design"
path = "src/lib.rs"

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

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

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

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

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

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

[dependencies.dioxus]
version = "0.7.1"
features = ["lib"]
default-features = false

[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true

[dev-dependencies.serde_json]
version = "1.0"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio]
version = "1"
features = [
    "time",
    "rt",
]

[target.'cfg(target_arch = "wasm32")'.dependencies.gloo-timers]
version = "0.4"
features = ["futures"]

[lints.clippy]
must_use_candidate = "warn"
return_self_not_must_use = "warn"