[package] name = "leptos-cosmo" version.workspace = true edition.workspace = true authors = ["Imanuel Ulbricht"] homepage = "https://cosmo-leptos.jinya.dev/" license = "MIT" description = "Leptos Cosmo is an opinionated component library for leptos based on the cosmopolitan design principles" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] chrono = { workspace = true } color-art = { workspace = true } gloo-history = { workspace = true, optional = true } gloo-net = { workspace = true, optional = true } gloo-utils = { workspace = true, optional = true } icondata = { workspace = true, optional = true } leptos = { workspace = true } leptos_icons = { workspace = true, optional = true } leptos_meta = { workspace = true } leptos_router = { workspace = true } leptos-use = { workspace = true } serde = { workspace = true } thiserror = { workspace = true } uuid = { workspace = true } web-sys = { workspace = true, features = ["File", "FileList", "HtmlElement", "HtmlInputElement", "History"] } [workspace] members = [ "docs" ] [workspace.package] version = "1.0.7" edition = "2021" [workspace.dependencies] chrono = "0.4" color-art = "0.3" gloo-history = "0.2" gloo-net = "0.6" gloo-utils = "0.2" icondata = "0.4" leptos = "0.6" leptos_icons = "0.3" leptos_meta = "0.6" leptos_router = "0.6" leptos-use = "0.12" serde = "1.0" thiserror = "1.0" uuid = { version = "1", features = ["js", "v4"] } web-sys = { version = "0.3", features = ["HtmlSelectElement", "Element", "FormData", "DomRect"] } [features] default = ["with-icons"] with-icons = ["dep:leptos_icons", "dep:icondata"] csr = ["dep:gloo-history", "dep:gloo-net", "dep:gloo-utils"] ssr = []