新增: MongoDB/Redis 代理工具

This commit is contained in:
2026-03-25 01:30:01 +08:00
parent f59ed9aae0
commit 780f683706
20 changed files with 6381 additions and 2 deletions

23
mongo-proxy/Cargo.toml Normal file
View File

@@ -0,0 +1,23 @@
[package]
name = "mongo-proxy"
version = "0.1.0"
edition = "2021"
description = "MongoDB HTTP proxy with connection pooling"
[dependencies]
mongodb = "3"
tokio = { version = "1", features = ["full"] }
axum = "0.7"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
toml = "0.8"
futures-util = "0.3"
anyhow = "1"
clap = { version = "4", features = ["derive"] }
ureq = "2"
time = { version = "0.3", features = ["formatting", "macros"] }
[profile.release]
opt-level = "z"
lto = true
strip = true