mirror of
https://github.com/cloud-shuttle/leptos-shadcn-ui.git
synced 2025-12-22 22:00:00 +00:00
📦 Enhanced Package Metadata: - Updated description with emoji and key metrics - Added homepage and documentation links - Added readme reference for better crates.io display - Version bump to 0.1.1 for metadata improvements 🎯 Improved Discoverability: - Better description highlighting WASM optimization - Clear bundle size and dependency reduction metrics - Direct links to documentation and repository
73 lines
1.8 KiB
TOML
73 lines
1.8 KiB
TOML
[package]
|
|
name = "leptos-shadcn-ui-wasm"
|
|
version = "0.1.1"
|
|
edition = "2021"
|
|
authors = ["CloudShuttle <info@cloudshuttle.com>"]
|
|
license = "MIT"
|
|
repository = "https://github.com/cloud-shuttle/leptos-shadcn-ui"
|
|
homepage = "https://github.com/cloud-shuttle/leptos-shadcn-ui"
|
|
documentation = "https://docs.rs/leptos-shadcn-ui-wasm"
|
|
description = "🚀 WASM-optimized ShadCN UI components for Leptos 0.8+ with minimal dependencies. 10 core components, 70% fewer deps, 813KB bundle size. Perfect for WebAssembly applications!"
|
|
keywords = ["leptos", "shadcn", "ui", "wasm", "components"]
|
|
categories = ["web-programming", "gui"]
|
|
readme = "README.md"
|
|
|
|
# WASM-optimized dependencies only
|
|
[dependencies]
|
|
leptos = "0.8"
|
|
|
|
# WASM-compatible utilities
|
|
getrandom = { version = "0.2", features = ["js"] }
|
|
uuid = { version = "1.0", features = ["v4", "js"] }
|
|
|
|
# Core component dependencies
|
|
leptos-shadcn-button = "0.9"
|
|
leptos-shadcn-input = "0.9"
|
|
leptos-shadcn-card = "0.9"
|
|
leptos-shadcn-label = "0.9"
|
|
leptos-shadcn-badge = "0.9"
|
|
leptos-shadcn-avatar = "0.9"
|
|
leptos-shadcn-separator = "0.9"
|
|
leptos-shadcn-skeleton = "0.9"
|
|
leptos-shadcn-alert = "0.9"
|
|
leptos-shadcn-alert-dialog = "0.9"
|
|
|
|
# WASM-compatible dependencies
|
|
wasm-bindgen = "0.2"
|
|
web-sys = { version = "0.3", features = ["console", "Document", "Element", "HtmlElement", "Window", "Performance"] }
|
|
console_error_panic_hook = "0.1"
|
|
|
|
# WASM-compatible testing
|
|
[dev-dependencies]
|
|
wasm-bindgen-test = "0.3"
|
|
|
|
[features]
|
|
default = ["all-components"]
|
|
all-components = [
|
|
"button",
|
|
"input",
|
|
"card",
|
|
"label",
|
|
"badge",
|
|
"avatar",
|
|
"separator",
|
|
"skeleton",
|
|
"alert",
|
|
"alert-dialog"
|
|
]
|
|
|
|
# Individual component features
|
|
button = []
|
|
input = []
|
|
card = []
|
|
label = []
|
|
badge = []
|
|
avatar = []
|
|
separator = []
|
|
skeleton = []
|
|
alert = []
|
|
alert-dialog = []
|
|
|
|
# WASM-specific optimizations
|
|
wasm-optimized = []
|