-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
66 lines (62 loc) · 2.39 KB
/
Copy pathCargo.toml
File metadata and controls
66 lines (62 loc) · 2.39 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
[package]
name = "dbproxy"
version = "0.1.0"
edition = "2024"
rust-version = "1.89"
license = "Apache-2.0"
description = "An async, health-aware MySQL, PostgreSQL/TimescaleDB, and Redis/Valkey proxy written in Rust"
publish = false
repository = "https://github.com/rahulbsw/dbproxy-rs"
homepage = "https://github.com/rahulbsw/dbproxy-rs"
readme = "README.md"
keywords = ["database", "mysql", "postgresql", "redis", "proxy"]
categories = ["database", "network-programming"]
[dependencies]
anyhow = "1.0"
arc-swap = "1.7"
async-trait = "0.1"
base64 = "0.22"
bigdecimal = "0.4"
bytes = "1.10"
chrono = "0.4"
clap = { version = "4.5", features = ["derive", "env"] }
futures-util = "0.3"
fs2 = "0.4"
memchr = "2.7"
mysql_async = { version = "0.37", default-features = false, features = ["default-rustls-ring"] }
nanoid = "0.5"
# crates.io 0.7.0 still uses rustls 0.22. Pin the official, API-compatible
# rustls 0.23 update until a newer opensrv-mysql release is published. Crates.io
# publication is disabled above so a packaged build cannot lose this source pin.
opensrv-mysql = { version = "0.7.0", git = "https://github.com/datafuselabs/opensrv", rev = "3142eb545fab811bc9289091781ce6d771cf0bf7" }
pgwire = { version = "0.40.5", default-features = false, features = ["server-api-ring", "pg-ext-types"] }
redis-client = { package = "redis", version = "0.32", default-features = false, features = ["connection-manager", "tokio-comp"] }
reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls"] }
rmp-serde = "1.3"
rustls-pemfile = "2.2"
rust_decimal = { version = "1.35", features = ["db-postgres"] }
serde = { version = "1.0", features = ["derive"] }
serde_bytes = "0.11"
serde_json = "1.0"
sha1 = "0.10"
sha2 = "0.10"
sqlparser = { version = "0.62", features = ["visitor"] }
thiserror = "2.0"
tokio = { version = "1.47", features = ["full"] }
tokio-postgres = { version = "0.7.18", features = ["with-chrono-0_4", "with-serde_json-1"] }
tokio-postgres-rustls = { version = "0.14", default-features = false, features = ["ring"] }
tokio-rustls = { version = "0.26", default-features = false, features = ["ring"] }
toml = "0.9"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "fmt", "json"] }
webpki-roots = "1.0"
[dev-dependencies]
criterion = "0.7"
tempfile = "3.20"
[[bench]]
name = "routing"
harness = false
[profile.release]
lto = "thin"
codegen-units = 1
strip = "symbols"