-
-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathCargo.toml
More file actions
109 lines (105 loc) · 3.02 KB
/
Copy pathCargo.toml
File metadata and controls
109 lines (105 loc) · 3.02 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
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
107
108
109
[workspace]
members = [
"trino-lb",
"trino-lb-persistence",
"trino-lb-core",
"trino-lb-bench",
]
resolver = "2"
[workspace.package]
version = "0.6.0"
authors = ["Stackable GmbH <info@stackable.tech>"]
license = "Apache-2.0"
edition = "2024"
repository = "https://github.com/stackabletech/trino-lb"
[workspace.dependencies]
askama = "0.16"
axum = { version = "0.8", features = ["tracing"] }
axum-extra = { version = "0.12", features = ["typed-header"] }
axum-server = { version = "0.8", features = ["tls-rustls"] }
bincode = { version = "2.0", features = ["serde"] }
chrono = "0.4"
clap = { version = "4.5", features = ["derive"] }
enum_dispatch = "0.3"
futures = "0.3"
http = "1.1"
http-serde = "2.1"
humantime-serde = "1.1"
indoc = "2.0"
k8s-openapi = { version = "0.28", default-features = false, features = [
"v1_36",
] }
kube = { version = "4.0", default-features = false, features = [
"client",
"jsonpatch",
"runtime",
"rustls-tls",
] }
main_error = "0.1"
num_cpus = "1.16"
number_prefix = "0.4"
opentelemetry = "0.32"
opentelemetry_sdk = "0.32"
opentelemetry-http = "0.32"
# `default-features = false` because the 0.32 defaults switched from tonic/gRPC to an http-proto
# (reqwest) exporter we don't use; we re-list only the tonic-based features we need.
opentelemetry-otlp = { version = "0.32", default-features = false, features = [
"grpc-tonic",
"gzip-tonic",
"serialize",
"trace",
"metrics",
# On by default in 0.32; re-listed because `default-features = false` would otherwise drop it.
# Lets the exporter report its own failures (e.g. collector unreachable) via `tracing`.
"internal-logs",
] }
opentelemetry-prometheus = "0.32"
prometheus = "0.14"
pyo3 = { version = "0.29", features = ["auto-initialize"] }
rand = "0.10"
redis = { version = "1.2", default-features = false, features = [
"acl",
"tokio-rustls-comp",
"cluster",
"cluster-async",
"connection-manager",
"script",
] }
regex = "1.10"
reqwest = { version = "0.13", default-features = false, features = [
"rustls",
"gzip",
"json",
"cookies",
] }
rustls = "0.23"
rstest = "0.26"
serde = { version = "1.0", features = ["derive"] }
serde_json = { version = "1.0", features = ["raw_value"] }
serde_yaml = "0.9"
snafu = "0.9"
# 0.7.4 is the first release that includes https://github.com/launchbadge/sqlx/pull/2927
sqlx = { version = "0.9", features = [
"runtime-tokio",
"tls-rustls",
"macros",
"json",
"chrono",
"postgres",
] }
strum = { version = "0.28", features = ["derive"] }
tokio = "1.52"
tower = "0.5"
tower-http = { version = "0.6", features = ["compression-full", "tracing"] }
tracing = "0.1"
tracing-opentelemetry = "0.33"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
trait-variant = "0.1"
trino-rust-client = "0.9"
url = { version = "2.5", features = ["serde"] }
urlencoding = "2.1"
# For trino-lb-bench
indicatif = "0.18"
[patch.crates-io]
# We raised a bunch of PRs, which aren't merged yet
trino-rust-client = { git = "https://github.com/stackabletech/trino-rust-client.git", branch = "trino-lb" }