[package]
name = "rustelo_web"
version = "0.1.0"
edition = "2021"
description = "Rustelo Framework - Web server components"
license = "MIT"
repository = "https://github.com/your-org/rustelo"

[dependencies]
# Framework core
rustelo_core = { workspace = true }

# Web framework dependencies
leptos = { workspace = true }
leptos_router = { workspace = true }
leptos_axum = { workspace = true }
leptos_config = { workspace = true }
leptos_meta = { workspace = true }
axum = { workspace = true }
tower = { workspace = true }
tower-http = { workspace = true }
tokio = { workspace = true }

# Serialization
serde = { workspace = true }
serde_json = { workspace = true }

# HTTP utilities
http = { workspace = true }
reqwest = { workspace = true }

# Utilities
thiserror = { workspace = true }
anyhow = { workspace = true }
tracing = { workspace = true }

[features]
default = ["ssr"]
ssr = []
hydrate = []
# TLS support
tls = ["axum-server", "rustls", "rustls-pemfile"]

[dependencies.axum-server]
workspace = true
optional = true

[dependencies.rustls]
workspace = true
optional = true

[dependencies.rustls-pemfile]
workspace = true
optional = true
