[package]
name = "leptonic"
version = { workspace = true }
edition = "2021"
rust-version = "1.70"
authors = ["Lukas Potthast <privat@lukas-potthast.de>"]
license = "MIT OR Apache-2.0"
readme = "README.md"
repository = "https://github.com/lpotthast/leptonic"
description = """
The Leptos component library.
"""
categories = ["gui"]
keywords = ["leptos", "components", "component-library"]
build = "build.rs"
[build-dependencies]
anyhow = "1.0.79"
cargo_toml = "0.19.1"
lazy_static = "1.4.0"
leptonic-theme = { version = "0.5", path = "../leptonic-theme" }
leptos-tiptap-build = { version = "0.2.6", optional = true }
[dependencies]
cfg-if = "1.0.0"
indexmap = "2.2.2"
indoc = "2.0.4"
itertools = "0.12.1"
js-sys = "0.3.67"
leptos = "0.6.5"
leptos-tiptap = { version = "0.7.0", optional = true }
leptos-use = { version = "0.10.1", features = ["math"] }
icondata = { version = "0.3.0" }
leptos_meta = { version = "0.6.5", features = [] }
leptos_router = "0.6.5"
serde = "1.0.196"
serde-wasm-bindgen = "0.6.3"
serde_json = "1.0.113"
strum = { version = "0.26.1", features = ["derive"] }
time = { version = "=0.3.31", features = [
"wasm-bindgen",
"macros",
"serde",
"serde-well-known",
] }
tracing = "0.1.40"
uuid = { version = "1.7.0", features = ["v4", "v7", "js", "serde"] }
wasm-bindgen = "0.2.90"
wasm-bindgen-futures = "0.4.40"
web-sys = { version = "0.3.67", features = [
"Clipboard",
"DomRect",
"Event",
"EventTarget",
"HtmlFormElement",
"HtmlInputElement",
"Storage",
] }
[dev-dependencies]
wasm-bindgen = "0.2.90"
wasm-bindgen-test = "0.3.40"
web-sys = "0.3.67"
[features]
csr = ["leptos/csr"]
ssr = ["leptos/ssr", "leptos-use/ssr", "leptos-tiptap?/ssr"]
hydrate = ["leptos/hydrate"]
clipboard = []
tiptap = ["dep:leptos-tiptap", "dep:leptos-tiptap-build"]
full = ["clipboard", "tiptap"]
[lints]
workspace = true