[package]
name = "vapora-leptos-ui"
version.workspace = true
edition.workspace = true
authors.workspace = true
license.workspace = true
repository.workspace = true
rust-version.workspace = true
description = "Glassmorphism UI component library for Leptos"
keywords = ["leptos", "ui", "components", "glassmorphism", "wasm"]

[lib]
crate-type = ["cdylib", "rlib"]

[features]
default = []
ssr = []
hydrate = ["leptos/hydrate"]

[dependencies]
leptos = { workspace = true }
leptos_meta = { workspace = true }
leptos_router = { workspace = true }
serde = { workspace = true, features = ["derive"] }
chrono = { workspace = true }
uuid = { workspace = true }

[target.'cfg(target_arch = "wasm32")'.dependencies]
wasm-bindgen = { workspace = true }
wasm-bindgen-futures = { workspace = true }
web-sys = { workspace = true, features = ["Window", "History", "Location", "DragEvent", "DataTransfer", "KeyboardEvent", "FocusEvent", "HtmlElement", "Element", "Document", "Event", "EventTarget", "CustomEvent", "DomRect", "PopStateEvent", "NodeList", "Node", "MouseEvent", "CssStyleDeclaration", "HtmlBodyElement", "DocumentFragment"] }
gloo-timers = { workspace = true, features = ["futures"] }
js-sys = { workspace = true }
