forked from TraceMachina/nativelink
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
54 lines (46 loc) · 1.32 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
[workspace]
resolver = "2"
[package]
name = "nativelink"
version = "0.4.0"
edition = "2021"
rust-version = "1.77.2"
[profile.release]
lto = true
opt-level = 3
# Prefer this profile in CI, for instance via `cargo test --all --profile=smol`.
# It reduces the size of the `target` directory from ~12GB to ~1GB.
[profile.smol]
inherits = "release"
lto = "thin"
opt-level = "z"
strip = true
[[bin]]
name = "nativelink"
[features]
enable_tokio_console = []
[dependencies]
nativelink-error = { path = "nativelink-error" }
nativelink-proto = { path = "nativelink-proto" }
nativelink-config = { path = "nativelink-config" }
nativelink-scheduler = { path = "nativelink-scheduler" }
nativelink-service = { path = "nativelink-service" }
nativelink-store = { path = "nativelink-store" }
nativelink-util = { path = "nativelink-util" }
nativelink-worker = { path = "nativelink-worker" }
async-lock = "3.3.0"
axum = "0.6.20"
clap = { version = "4.5.4", features = ["derive"] }
futures = "0.3.30"
hyper = { version = "0.14.28" }
mimalloc = "0.1.41"
parking_lot = "0.12.2"
prometheus-client = "0.21.2"
rustls-pemfile = "2.1.2"
scopeguard = "1.2.0"
serde_json5 = "0.1.0"
tokio = { version = "1.37.0", features = ["rt-multi-thread", "signal"] }
tokio-rustls = "0.25.0"
tonic = { version = "0.11.0", features = ["gzip", "tls"] }
tower = "0.4.13"
tracing = "0.1.40"