forked from divviup/janus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
75 lines (71 loc) · 2.74 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
[workspace]
members = [
"aggregator",
"aggregator_api",
"aggregator_core",
"build_script_utils",
"client",
"collector",
"core",
"integration_tests",
"interop_binaries",
"messages",
"tools",
]
resolver = "2"
[workspace.package]
edition = "2021"
homepage = "https://divviup.org"
license = "MPL-2.0"
repository = "https://github.com/divviup/janus"
rust-version = "1.70.0"
version = "0.6.0"
[workspace.dependencies]
anyhow = "1"
base64 = "0.21.3"
# 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", default-features = false }
itertools = "0.10"
janus_aggregator = { version = "0.6", path = "aggregator" }
janus_aggregator_api = { version = "0.6", path = "aggregator_api" }
janus_aggregator_core = { version = "0.6", path = "aggregator_core" }
janus_build_script_utils = { version = "0.6", path = "build_script_utils" }
janus_client = { version = "0.6", path = "client" }
janus_collector = { version = "0.6", path = "collector" }
janus_core = { version = "0.6", path = "core" }
janus_integration_tests = { version = "0.6", path = "integration_tests" }
janus_interop_binaries = { version = "0.6", path = "interop_binaries" }
janus_messages = { version = "0.6", path = "messages" }
k8s-openapi = { version = "0.18.0", features = ["v1_24"] } # keep this version in sync with what is referenced by the indirect dependency via `kube`
kube = { version = "0.82.2", default-features = false, features = ["client", "rustls-tls"] }
opentelemetry = { version = "0.20", features = ["metrics"] }
prio = { version = "0.15.1", features = ["multithreaded", "experimental"] }
serde = { version = "1.0.188", features = ["derive"] }
serde_json = "1.0.106"
serde_test = "1.0.175"
serde_yaml = "0.9.25"
rstest = "0.17.0"
thiserror = "1.0"
tokio = { version = "1.32", features = ["full", "tracing"] }
trillium = "0.2.9"
trillium-api = { version = "0.2.0-rc.4", default-features = false }
trillium-caching-headers = "0.2.1"
trillium-head = "0.2.0"
trillium-opentelemetry = "0.3.0"
trillium-router = "0.3.5"
trillium-testing = "0.5.0"
trillium-tokio = "0.3.1"
[profile.ci]
# Disabling debug info improves build speeds & reduces build artifact sizes, which helps CI caching.
inherits = "dev"
debug = 0
[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, e.g.
# building a binary artifact that ends up embedded in another binary.
inherits = "dev"
opt-level = "z" # Optimize for size.
debug = false # Do not generate debug info.
strip = true # Strip symbols from binary.