[package]
edition = "2021"
name = "shadow-design"
version = "0.3.0"
authors = [
"ShadowfenixRaD",
"Christian Torbidone <killerbossoriginal@gmail.com>",
]
build = false
include = [
"src/**/*",
"scss/**/*",
"tests/**/*",
"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]
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",
]
animation = []
attachment-card = ["attachment_card"]
attachment_card = [
"card",
"icon",
"progress",
"button",
]
avatar = ["icon"]
badge = []
button = []
card = []
chat = ["icon"]
checkbox = ["icon"]
contact-card = ["contact_card"]
contact_card = [
"card",
"avatar",
]
default = ["all"]
divider = []
drawer = ["icon"]
dropdown = ["icon"]
icon = []
input = ["icon"]
modal = ["icon"]
navbar = ["icon"]
notification = ["icon"]
progress = []
segmented-control = ["segmented_control"]
segmented_control = ["icon"]
select = ["icon"]
serde = ["dep:serde"]
skeleton = []
switch = []
tabs = ["icon"]
textarea = ["icon"]
theme = []
tooltip = []
tree = ["icon"]
typography = []
[lib]
name = "shadow_design"
path = "src/lib.rs"
[[test]]
name = "compat_the_mind_tests"
path = "tests/compat_the_mind_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.3"
features = ["futures"]
[lints.clippy]
must_use_candidate = "warn"
return_self_not_must_use = "warn"