46 lines
1.9 KiB
TOML
46 lines
1.9 KiB
TOML
[package]
|
|
name = "my-site-server"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
description = "Minimal Rustelo server — replace with your site name"
|
|
|
|
[[bin]]
|
|
name = "server"
|
|
path = "src/main.rs"
|
|
|
|
[lib]
|
|
name = "site_server"
|
|
path = "src/lib.rs"
|
|
|
|
[dependencies]
|
|
# ── Framework ports (primary entry points) ─────────────────────────────────
|
|
rustelo_web = { path = "../../framework/crates/rustelo_web", features = ["ssr"] }
|
|
rustelo_auth = { path = "../../framework/crates/rustelo_auth", features = ["ssr"] }
|
|
rustelo_content = { path = "../../framework/crates/rustelo_content", features = ["ssr", "markdown"] }
|
|
|
|
# ── Foundation server (Axum, auth services, SSR runner) ────────────────────
|
|
rustelo_server = { path = "../../foundation/crates/rustelo_server", features = ["auth", "email"] }
|
|
rustelo_core_lib = { path = "../../foundation/crates/rustelo_core_lib" }
|
|
|
|
# ── Leptos + Axum (available via rustelo_web re-exports, listed for macros) ─
|
|
leptos = { path = "../../../../deps/leptos", features = ["ssr"] }
|
|
leptos_meta = { path = "../../../../deps/leptos_meta" }
|
|
leptos_axum = { path = "../../../../deps/leptos_axum" }
|
|
leptos_config = { path = "../../../../deps/leptos_config" }
|
|
|
|
# ── Serialization and logging ───────────────────────────────────────────────
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
tracing = "0.1"
|
|
|
|
[build-dependencies]
|
|
rustelo_tools = { path = "../../foundation/crates/rustelo_tools" }
|
|
rustelo_utils = { path = "../../foundation/crates/rustelo_utils" }
|
|
build-config = { path = "../../foundation/crates/build-config" }
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
toml = "0.8"
|
|
|
|
[features]
|
|
default = ["ssr"]
|
|
ssr = ["leptos/ssr"]
|