[package]
name = "website-pages"
version.workspace = true
authors.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true

[dependencies]
leptos.workspace = true
leptos_meta.workspace = true
serde.workspace = true
serde_json.workspace = true

# Rustelo pages via framework port
rustelo_content  = { workspace = true }
rustelo_pages_leptos.workspace = true
rustelo_components_leptos.workspace = true

# WASM interop for GraphViewClient
[target.'cfg(target_arch = "wasm32")'.dependencies]
wasm-bindgen = { workspace = true }
js-sys = { workspace = true }
web-sys = { workspace = true }

[build-dependencies]
build-config = { path = "../build-config" }
serde.workspace = true
serde_json.workspace = true
toml.workspace = true
walkdir.workspace = true
sha2.workspace = true
tera.workspace = true

# Use new PAP-compliant manifest system
rustelo_utils.workspace = true
rustelo_tools.workspace = true
content-graph.workspace = true

[lib]
name = "website_pages"
path = "src/lib.rs"
