forked from divviup/janus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
145 lines (141 loc) · 4.83 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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
[workspace]
members = [
"aggregator",
"aggregator_api",
"aggregator_core",
"client",
"collector",
"core",
"integration_tests",
"interop_binaries",
"messages",
"tools",
"xtask",
]
resolver = "2"
[workspace.package]
edition = "2021"
homepage = "https://divviup.org"
license = "MPL-2.0"
repository = "https://github.com/divviup/janus"
rust-version = "1.77.0"
version = "0.8.0-prerelease-1"
[workspace.dependencies]
anyhow = "1"
assert_matches = "1"
async-trait = "0.1"
backoff = "0.4.0"
base64 = "0.22.1"
bhttp = "0.5.3"
bytes = "1"
cfg-if = "1.0.0"
# Disable default features to disable compatibility with the old `time` crate, and we also don't
# (yet) need other default features.
# https://docs.rs/chrono/latest/chrono/#duration
chrono = { version = "0.4.38", default-features = false }
clap = { version = "4.5.20", features = ["cargo", "derive", "env"] }
console-subscriber = "0.4.1"
deadpool = "0.12.1"
deadpool-postgres = "0.14.0"
derivative = "2.2.0"
divviup-client = "0.4"
fixed = "1.27"
futures = "0.3.31"
git-version = "0.3.9"
hex = "0.4.3"
hex-literal = "0.4.1"
hpke-dispatch = "0.7.0"
http = "1.1"
http-api-problem = "0.58.0"
itertools = "0.13"
janus_aggregator = { version = "0.8.0-prerelease-1", path = "aggregator" }
janus_aggregator_api = { version = "0.8.0-prerelease-1", path = "aggregator_api" }
janus_aggregator_core = { version = "0.8.0-prerelease-1", path = "aggregator_core" }
janus_client = { version = "0.8.0-prerelease-1", path = "client" }
janus_collector = { version = "0.8.0-prerelease-1", path = "collector" }
janus_core = { version = "0.8.0-prerelease-1", path = "core" }
janus_interop_binaries = { version = "0.8.0-prerelease-1", path = "interop_binaries" }
janus_messages = { version = "0.8.0-prerelease-1", path = "messages" }
k8s-openapi = { version = "0.22.0", features = ["v1_26"] } # keep this version in sync with what is referenced by the indirect dependency via `kube`
kube = { version = "0.94.2", default-features = false, features = ["client", "rustls-tls"] }
mockito = "1.6.0"
num_enum = "0.7.3"
ohttp = { version = "0.5.1", default-features = false }
opentelemetry = { version = "0.24", default-features = false, features = ["trace", "metrics"] }
opentelemetry-otlp = { version = "0.17", default-features = false, features = ["trace", "metrics", "grpc-tonic"] }
opentelemetry-prometheus = "0.17"
opentelemetry_sdk = { version = "0.24", default-features = false, features = ["trace", "metrics"] }
pem = "3"
postgres-protocol = "0.6.7"
postgres-types = "0.2.8"
pretty_assertions = "1.4.1"
# Disable default features so that individual workspace crates can choose to
# re-enable them
prio = { version = "0.16.7", default-features = false, features = ["experimental"] }
prometheus = "0.13.4"
querystring = "1.1.0"
quickcheck = { version = "1.0.3", default-features = false }
quickcheck_macros = "1.0.0"
rand = "0.8"
rayon = "1.10.0"
reqwest = { version = "0.12.9", default-features = false, features = ["rustls-tls"] }
regex = "1.11.1"
retry-after = "0.4.0"
ring = "0.17.8"
rstest = "0.22.0"
rstest_reuse = "0.7.0"
rustc_version = "0.4.1"
rustls = "0.23.16"
rustls-pemfile = "2.2.0"
sec1 = "0.7"
serde = { version = "1.0.215", features = ["derive"] }
serde_json = "1.0.132"
serde_test = "1.0.177"
serde_urlencoded = "0.7.1"
serde_yaml = "0.9.34"
signal-hook = "0.3.17"
signal-hook-tokio = "0.3.1"
sqlx = "0.8.2"
stopper = "0.2.8"
tempfile = "3.14.0"
testcontainers = "0.22.0"
thiserror = "1.0"
tracing = "0.1.40"
tracing-chrome = "0.7.2"
tracing-log = "0.2.0"
tracing-opentelemetry = "0.25"
tracing-stackdriver = "0.10.0"
tracing-subscriber = "0.3"
tokio = { version = "1.41", features = ["full", "tracing"] }
tokio-postgres = "0.7.12"
tokio-postgres-rustls = "0.12.0"
tokio-stream = "0.1.16"
trillium = "0.2.20"
trillium-api = { version = "0.2.0-rc.12", default-features = false }
trillium-caching-headers = "0.2.3"
trillium-head = "0.2.3"
trillium-macros = "0.0.6"
trillium-opentelemetry = "0.9.0"
trillium-prometheus = "0.2.0"
trillium-proxy = { version = "0.5.5", default-features = false }
trillium-router = "0.4.1"
trillium-rustls = "0.8.1"
trillium-testing = "0.7.0"
trillium-tokio = "0.4.0"
trycmd = "0.15.8"
url = { version = "2.5.2", features = ["serde"] }
uuid = { version = "1.11.0", features = ["v4"] }
wait-timeout = "0.2.0"
[profile.ci]
# Disabling debug info improves build speeds & reduces build artifact sizes, which helps CI caching.
inherits = "dev"
debug = 0
# Incremental compilation is also disabled via environment variable by the Swatinem/rust-cache action.
incremental = false
[profile.small]
# We define a profile intended to minimize the eventual binary size, while still allowing for
# relatively fast compilation. It is intended for use in size-constrained testing scenarios.
inherits = "dev"
opt-level = "z" # Optimize for size.
debug = false # Do not generate debug info.
strip = true # Strip symbols from binary.