37 lines
1.6 KiB
TOML
37 lines
1.6 KiB
TOML
[package]
|
|
name = "my-site-client"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
description = "Minimal Rustelo WASM client — replace with your site name"
|
|
|
|
[lib]
|
|
name = "site_client"
|
|
path = "src/lib.rs"
|
|
crate-type = ["cdylib"]
|
|
|
|
[dependencies]
|
|
# ── Framework ports ─────────────────────────────────────────────────────────
|
|
rustelo_web = { path = "../../framework/crates/rustelo_web" }
|
|
rustelo_client = { path = "../../foundation/crates/rustelo_client" }
|
|
|
|
# ── Leptos (WASM target, hydration mode) ───────────────────────────────────
|
|
leptos = { path = "../../../../deps/leptos" }
|
|
leptos_meta = { path = "../../../../deps/leptos_meta" }
|
|
|
|
# ── WASM bindings ──────────────────────────────────────────────────────────
|
|
wasm-bindgen = "0.2"
|
|
wasm-bindgen-futures = "0.4"
|
|
console_error_panic_hook = "0.1"
|
|
|
|
# ── Serialization ───────────────────────────────────────────────────────────
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
|
|
[build-dependencies]
|
|
rustelo_tools = { path = "../../foundation/crates/rustelo_tools" }
|
|
rustelo_utils = { path = "../../foundation/crates/rustelo_utils" }
|
|
|
|
[features]
|
|
default = ["csr"]
|
|
csr = ["leptos/csr"]
|
|
hydrate = ["leptos/hydrate"]
|