[package] name = "leptonic" version = { workspace = true } edition = "2021" rust-version = "1.70" authors = ["Lukas Potthast "] 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" # TODO: What of all below is really required? 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"] # Enables clipboard support. Requires `[build] rustflags = ["--cfg=web_sys_unstable_apis"]` in your cargo.toml. clipboard = [] # Enables tiptap editor support. Tiptap related JS files will be copied to your proect directory when running a build. tiptap = ["dep:leptos-tiptap", "dep:leptos-tiptap-build"] full = ["clipboard", "tiptap"] [lints] workspace = true