
[package]
name = "rustelo_client"
version = "0.1.0"
edition = "2021"
authors = ["Rustelo Contributors"]
license = "MIT"
description = "Client-side components for Rustelo web application template"
documentation = "https://docs.rs/client"
repository = "https://github.com/yourusername/rustelo"
homepage = "https://jesusperez.pro"
readme = "../../README.md"
keywords = [
    "rust",
    "web",
    "leptos",
    "wasm",
    "frontend",
]
categories = [
    "web-programming",
    "wasm",
]

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

[dependencies]
leptos = { workspace = true, features = ["hydrate"] }
leptos_router = { workspace = true }
leptos_meta = { workspace = true }
leptos_config = { workspace = true }
wasm-bindgen = { workspace = true }
js-sys = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
reqwasm = { workspace = true }
gloo-net = { workspace = true }
web-sys = { workspace = true }
regex = { workspace = true }
console_error_panic_hook = { workspace =  true }
toml = { workspace = true }
fluent = { workspace = true }
fluent-bundle = { workspace = true }
unic-langid = { workspace = true }

rustelo_core_lib = { workspace = true, features = ["leptos-hydration"] }
rustelo_core_types = { workspace = true }
rustelo_components_leptos = { workspace = true }

rustelo_pages_leptos = { workspace = true }
gloo-timers = { workspace = true }
wasm-bindgen-futures = { workspace = true }
chrono = { workspace = true }
uuid = { workspace = true }
urlencoding = { workspace = true }
tracing = { workspace = true }
paste = { workspace = true }

[features]
default = []
hydrate = ["leptos/hydrate"]
# Gate the wasm-bindgen hydrate() entry point — disable when used as a library
# dependency by another crate that provides its own hydrate() entry point.
hydrate-entrypoint = []
content-static = []
content-watcher = ["content-static"]
tls = []
console-log = []
console-log-production = []

[package.metadata.docs.rs]
# Configuration for docs.rs
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
