relay/Cargo.toml
egregore fd3802d749 Port relay service from Python to Rust + Rouille
- PostgreSQL with chrono datetime support
- JWT authentication (jsonwebtoken crate)
- bcrypt API key hashing
- In-memory rate limiter (10 req/min for chat)
- HTTP proxy to reason/recall services
- ~3.8MB binary vs ~50MB Python

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 20:30:04 +00:00

21 lines
476 B
TOML

[package]
name = "relay"
version = "0.1.0"
edition = "2021"
[dependencies]
rouille = "3.6"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
chrono = { version = "0.4", features = ["serde"] }
postgres = { version = "0.19", features = ["with-chrono-0_4"] }
jsonwebtoken = "9.2"
bcrypt = "0.15"
ureq = { version = "2.9", features = ["json"] }
uuid = { version = "1.0", features = ["v4"] }
rand = "0.8"
hex = "0.4"
[profile.release]
strip = true
lto = true