[package]
name = "client"
version = "0.1.0"
edition = "2024"
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://rustelo.dev"
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 }
serde = { workspace = true }
serde_json = { workspace = true }
reqwasm = { workspace = true }
web-sys = { workspace = true }
regex = { workspace = true }
console_error_panic_hook = { version = "0.1.7" }
toml = { workspace = true }
fluent = { workspace = true }
fluent-bundle = { workspace = true }
unic-langid = { workspace = true }

shared = { path = "../shared" }
gloo-timers = { workspace = true }
wasm-bindgen-futures = { workspace = true }
urlencoding = "2.1"
chrono = { workspace = true }
uuid = { workspace = true }
# leptos-use = "0.13"

[features]
default = []
hydrate = []

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