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

[dependencies]
# Rustelo Framework (shared features)
rustelo-core = { workspace = true }
rustelo-web = { workspace = true }
rustelo-content = { workspace = true }

# Leptos (isomorphic)
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"
]
hydrate = ["leptos/hydrate"]
csr = ["leptos/csr"]