[package]
name = "dashboard-client"
version = "0.1.0"
edition = "2021"
authors = ["Tools Team"]
description = "Leptos CSR frontend for Syntaxis Dashboard"
license = "MIT OR Apache-2.0"

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

[package.metadata.syntaxis]
use_wrapper = false
install_mode = "leptos"
config_src = ""

[dependencies]
leptos = { workspace = true }
leptos_router = { workspace = true }
leptos_meta = { workspace = true }
web-sys = { workspace = true, features = ["Window", "Storage", "WebSocket", "Location", "UrlSearchParams", "console"] }
wasm-bindgen = { workspace = true }
wasm-bindgen-futures = "0.4.55"
js-sys = "0.3"
console_error_panic_hook = "0.1.7"
gloo-net = { workspace = true, features = ["http"] }
serde = { workspace = true, features = ["derive"] }
serde_json = { workspace = true }

dashboard-shared = { path = "../shared" }

[dev-dependencies]
wasm-bindgen-test = "0.3.55"

[package.metadata.docs.rs]
targets = ["wasm32-unknown-unknown"]
