新增: MongoDB/Redis 代理工具
This commit is contained in:
23
mongo-proxy/Cargo.toml
Normal file
23
mongo-proxy/Cargo.toml
Normal 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
|
||||
Reference in New Issue
Block a user