[package]
name = "jpl-website-ssr"
version = "0.1.0"
edition = "2021"
description = "jpl-website SSR components from Rustelo framework"

[dependencies]
# Workspace crates
jpl-website-shared = { workspace = true }

# Rustelo Framework
rustelo-core = { workspace = true }
rustelo-web = { workspace = true }
rustelo-content = { workspace = true }

# Leptos SSR
leptos = { workspace = true }
leptos_router = { workspace = true }
leptos_meta = { workspace = true }

# Data
serde = { workspace = true }
serde_json = { workspace = true }
uuid = { workspace = true }
chrono = { workspace = true }

[features]
default = []
ssr = [
    "leptos/ssr",
    "leptos_router/ssr", 
    "leptos_meta/ssr",
    "jpl-website-shared/ssr"
]
hydrate = [
    "leptos/hydrate",
    "jpl-website-shared/hydrate"
]
csr = [
    "leptos/csr",
    "jpl-website-shared/csr"
]