forked from shotover/shotover-proxy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
106 lines (94 loc) · 3.06 KB
/
Cargo.toml
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
[package]
name = "shotover-proxy"
version = "0.1.5"
authors = ["Ben <ben@instaclustr.com>"]
edition = "2021"
rust-version = "1.56"
license = "Apache-2.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
# Include WIP alpha transforms in the public API
alpha-transforms = []
[dependencies]
pretty-hex = "0.3.0"
hex = "0.4.3"
tokio = { version = "=1.19.2", features = ["full", "macros"] }
tokio-util = { version = "0.7.0", features = ["full"] }
tokio-stream = "0.1.2"
bytes = "1.0.0"
bytes-utils = "0.1.1"
futures = { git = "https://github.com/rust-lang/futures-rs" }
futures-util = "0.3.21"
async-trait = "0.1.30"
clap = { version = "3.0.4", features = ["cargo", "derive"] }
derivative = "2.1.1"
itertools = "0.10.1"
rand = { version = "0.8.4" }
rand_distr = "0.4.1"
cached = "0.38"
pin-project-lite = "0.2"
tokio-openssl = "0.6.2"
openssl = { version = "0.10.36", features = ["vendored"] }
async-recursion = "1.0"
governor = { version = "0.4.2", default-features = false, features = ["std", "jitter", "quanta"] }
nonzero_ext = "0.3.0"
# Error handling
thiserror = "1.0"
anyhow = "1.0.31"
# Parsers
cql3-parser = "0.3.0"
serde = { version = "1.0.111", features = ["derive"] }
serde_json = "1.0"
serde_yaml = "0.8.21"
bincode = "1.3.1"
num = { version = "0.4.0", features = ["serde"] }
uuid = { version = "1.0.0", features = ["serde"] }
bigdecimal = {version ="0.3.0", features = ["serde"] }
base64 = "0.13.0"
#Observability
metrics = "0.20.0"
metrics-exporter-prometheus = "0.11.0"
tracing = { version = "0.1.15", features = ["release_max_level_info"] }
tracing-subscriber = { version = "0.3.1", features = ["env-filter"] }
tracing-log = { version = "0.1.1", features = ["env_logger"] }
tracing-appender = "0.2.0"
hyper = { version = "0.14.14", features = ["server"] }
halfbrown = "0.1.11"
# Transform dependencies
redis-protocol = { version = "4.0.1", features = ["decode-mut"] }
cassandra-protocol = { git = "https://github.com/krojew/cdrs-tokio" }
crc16 = "0.4.0"
ordered-float = { version = "3.0.0", features = ["serde"] }
#Crypto
rusoto_kms = "0.48.0"
rusoto_signature = "0.48.0"
csv = "1.1.6"
strum_macros = "0.24"
chacha20poly1305 = { version = "0.10.0", features = ["std"] }
generic-array = { version = "0.14", features = ["serde"] }
[dev-dependencies]
rayon = "1.5.1"
criterion = { git = "https://github.com/shotover/criterion.rs", branch = "version-0.4", version = "0.3", features = ["async_tokio", "html_reports"] }
redis = { version = "0.21.0", features = ["tokio-comp", "cluster"] }
pcap = "0.9.0"
pktparse = { version = "0.7.0", features = ["serde"] }
tls-parser = "0.11.0"
tokio-io-timeout = "1.1.1"
serial_test = "0.8.0"
cassandra-cpp = "1.1.0"
test-helpers = { path = "../test-helpers" }
hex-literal = "0.3.3"
nix = "0.24.0"
reqwest = "0.11.6"
metrics-util = "0.14.0"
cdrs-tokio = { git = "https://github.com/krojew/cdrs-tokio", rev = "7d6d8fee723a232f17b4173de61e6fd9eb4d4505" }
scylla = "0.4.7"
[[bench]]
name = "redis_benches"
harness = false
[[bench]]
name = "chain_benches"
harness = false
[[bench]]
name = "cassandra_benches"
harness = false