Add a hash column to messages table computed from SHA-256(created_at + content) to ensure message integrity. Existing messages get backfilled during migration. All messages now show copy and permalink buttons on hover, with hash-based URL fragments that auto-scroll and highlight the target message. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
30 lines
930 B
TOML
30 lines
930 B
TOML
[package]
|
|
name = "groupchat-server"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[dependencies]
|
|
axum = { version = "0.7", features = ["ws", "macros", "multipart"] }
|
|
axum-extra = { version = "0.9", features = ["typed-header"] }
|
|
tokio = { version = "1", features = ["full"] }
|
|
tower = "0.4"
|
|
tower-http = { version = "0.5", features = ["cors", "fs"] }
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
sqlx = { version = "0.7", features = ["runtime-tokio", "sqlite", "uuid", "chrono"] }
|
|
uuid = { version = "1", features = ["v4", "serde"] }
|
|
chrono = { version = "0.4", features = ["serde"] }
|
|
jsonwebtoken = "9"
|
|
argon2 = "0.5"
|
|
reqwest = { version = "0.12", features = ["json", "stream", "gzip", "brotli", "deflate"] }
|
|
futures = "0.3"
|
|
dotenvy = "0.15"
|
|
tracing = "0.1"
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
|
rand = "0.8"
|
|
async-trait = "0.1"
|
|
scraper = "0.22"
|
|
md-5 = "0.10"
|
|
sha2 = "0.10"
|
|
base64 = "0.22"
|