Rust server (axum) with server-side translations, OS-aware download buttons, /download/<platform> redirecting to the latest GitHub release asset and logging platform, version and geolocated region (no IP stored), password-protected /stats and /stats.csv. Docker compose setup behind nginx. Ten screenshots taken with new dev hooks (CP_FILTER, CP_PANE, CP_SORT, CP_BOARD). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
25 lines
836 B
TOML
25 lines
836 B
TOML
[package]
|
|
name = "chesspenguin-site"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
license = "GPL-3.0-or-later"
|
|
description = "The ChessPenguin website: pages, downloads through GitHub releases, download statistics"
|
|
publish = false
|
|
|
|
# Separate from the application's workspace.
|
|
[workspace]
|
|
|
|
[dependencies]
|
|
axum = "0.8"
|
|
tokio = { version = "1", features = ["macros", "rt-multi-thread", "net", "sync", "time", "signal"] }
|
|
tower-http = { version = "0.7", features = ["fs", "set-header"] }
|
|
reqwest = { version = "0.13", default-features = false, features = ["json", "rustls"] }
|
|
rusqlite = { version = "0.40", features = ["bundled"] }
|
|
maxminddb = "0.32"
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
chrono = { version = "0.4", default-features = false, features = ["clock", "std"] }
|
|
base64 = "0.23"
|
|
|
|
[profile.release]
|
|
strip = true
|