-
Notifications
You must be signed in to change notification settings - Fork 110
/
Cargo.toml
87 lines (79 loc) · 2.67 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
[workspace]
resolver = "2"
[package]
name = "nativelink"
version = "0.5.3"
edition = "2021"
rust-version = "1.81.0"
[profile.release]
lto = true
opt-level = 3
[profile.dev]
lto = false
opt-level = 0
strip = false
debug = true
# 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 = "dev"
opt-level = "z"
strip = true
debug = false
[[bin]]
name = "nativelink"
[features]
enable_tokio_console = [
"nativelink-util/enable_tokio_console"
]
nix = [
"nativelink-worker/nix"
]
[dependencies]
nativelink-error = { path = "nativelink-error" }
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" }
nativelink-metric = { path = "nativelink-metric" }
nativelink-metric-collector = { path = "nativelink-metric-collector" }
async-lock = { version = "3.4.0", features = ["std"], default-features = false }
axum = { version = "0.7.7", default-features = false }
clap = { version = "4.5.18", features = ["derive"] }
futures = { version = "0.3.30", default-features = false }
hyper = "1.4.1"
hyper-util = "0.1.9"
mimalloc = "0.1.43"
parking_lot = "0.12.3"
rustls-pemfile = { version = "2.2.0", default-features = false }
scopeguard = { version = "1.2.0", default-features = false }
serde_json5 = "0.1.0"
tokio = { version = "1.40.0", features = ["fs", "rt-multi-thread", "signal", "io-util"], default-features = false }
tokio-rustls = { version = "0.26.0", default-features = false, features = [
"ring",
] }
tonic = { version = "0.12.3", features = ["transport", "tls"], default-features = false }
tower = { version = "0.5.1", default-features = false }
tracing = { version = "0.1.40", default-features = false }
opentelemetry_sdk = { version = "0.24.1", default-features = false }
tracing-subscriber = { version = "0.3.18", default-features = false }
opentelemetry = { version = "0.24.0", default-features = false }
prometheus = { version = "0.13.4", default-features = false }
opentelemetry-prometheus = "0.17.0"
serde_json = "1.0.128"
[workspace.cargo-features-manager.keep]
async-lock = ["std"]
aws-sdk-s3 = ["rt-tokio"]
aws-smithy-runtime = ["test-util"]
# This causes blake3 to detect SIMD capabilities at runtime.
blake3 = ["std"]
pretty_assertions = ["std"]
redis-test = ["aio"]
serial_test = ["async"]
tokio = ["fs", "rt-multi-thread", "signal", "io-util"]
tokio-stream = ["fs"]
tonic-build = ["prost"]
tonic = ["transport", "tls"]
uuid = ["v4", "serde"]