Cargo.toml 3.68 KB
Newer Older
1
# SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
2
3
# SPDX-License-Identifier: Apache-2.0

Ryan Olson's avatar
Ryan Olson committed
4
[package]
Neelay Shah's avatar
Neelay Shah committed
5
name = "dynamo-runtime"
Alec's avatar
Alec committed
6
readme = "README.md"
7
8
9
10
11
12
version.workspace = true
edition.workspace = true
authors.workspace = true
license.workspace = true
homepage.workspace = true
repository.workspace = true
13
description = "Dynamo Runtime Library"
Ryan Olson's avatar
Ryan Olson committed
14

15
16
17
[features]
default = []
integration = []
18
19
testing-etcd = [] # Tests that require an active ETCD server
tokio-console = ["dep:console-subscriber", "tokio/tracing"]
20
compute-validation = [] # Enable validation and timing for compute macros
21
tcp-low-latency = [] # Enable Linux-specific TCP optimizations (TCP_QUICKACK, SO_BUSY_POLL)
22

Ryan Olson's avatar
Ryan Olson committed
23
[dependencies]
24
25
26
27
28
29
# Use workspace dependencies where available
anyhow = { workspace = true }
async-nats = { workspace = true }
async-stream = { workspace = true }
async-trait = { workspace = true }
async_zmq = { workspace = true }
30
axum = { workspace = true }
31
32
33
blake3 = { workspace = true }
bytes = { workspace = true }
chrono = { workspace = true }
34
dashmap = { workspace = true }
35
36
derive_builder = { workspace = true }
derive-getters = { workspace = true }
37
dynamo-config = { workspace = true }
38
either = { workspace = true }
39
etcd-client = { workspace = true }
40
futures = { workspace = true }
41
humantime = { workspace = true }
42
parking_lot = { workspace = true }
43
prometheus = { workspace = true }
44
rand = { workspace = true }
45
reqwest = { workspace = true }
46
rmp-serde = { workspace = true }
47
48
49
50
51
serde = { workspace = true }
serde_json = { workspace = true }
tokio = { workspace = true }
tokio-stream = { workspace = true }
tokio-util = { workspace = true }
52
tower = { version = "0.5" }
53
tower-http = { workspace = true }
54
tracing = { workspace = true }
55
56
hyper = { version = "1.5", features = ["http2", "server"] }
hyper-util = { version = "0.1", features = ["tokio", "server", "server-auto"] }
57
tracing-subscriber = { workspace = true }
58
59
60
61
tracing-opentelemetry = { workspace = true }
opentelemetry = { workspace = true }
opentelemetry_sdk = { workspace = true }
opentelemetry-otlp = { workspace = true }
62
thiserror = { workspace = true }
63
uuid = { workspace = true }
64
65
url = { workspace = true }
validator = { workspace = true }
66
xxhash-rust = { workspace = true }
Ryan Olson's avatar
Ryan Olson committed
67

68
arc-swap = { version = "1" }
69
async-once-cell = { version = "0.5.4" }
70
bincode = { version = "1" }
71
console-subscriber = { version = "0.4", optional = true }
72
educe = { version = "0.6.0" }
73
figment = { version = "0.10.19", features = ["env", "json", "toml", "test"] }
74
notify = { version = "6.1", default-features = false, features = ["macos_fsevent"] }
75
76
inotify = { version = "0.11" }
libc = { version = "0.2" }
Ryan Olson's avatar
Ryan Olson committed
77
local-ip-address = { version = "0.6.3" }
78
log = { version = "0.4" }
Ryan Olson's avatar
Ryan Olson committed
79
80
81
nid = { version = "3.0.0", features = ["serde"] }
nix = { version = "0.29", features = ["signal"] }
nuid = { version = "0.5" }
82
once_cell = { version = "1" }
83
percent-encoding = { version = "2.3.2" } # also used by tonic, reqwest, axum, etc
84
rayon = { version = "1.10" }
85
86
regex = { version = "1" }
socket2 = { version = "0.5.8" }
87
tokio-rayon = { version = "2.1" }
Ryan Olson's avatar
Ryan Olson committed
88

89
90
91
92
# Kubernetes discovery backend
kube = { version = "2.0.1", default-features = false, features = ["runtime", "derive", "client", "rustls-tls", "aws-lc-rs"] }
k8s-openapi = { version = "0.26.0", features = ["v1_32"] }

Ryan Olson's avatar
Ryan Olson committed
93
[dev-dependencies]
94
assert_matches = { version = "1.5.0" }
95
criterion = { version = "0.5", features = ["async_tokio"] }
96
97
env_logger = { version = "0.11" }
rstest = { version = "0.23.0" }
98
temp-env = { version = "0.3.6" , features=["async_closure"] }
99
100
stdio-override = {version= "0.2.0"}
jsonschema = {version = "0.17"}
101
102
103
104
tempfile = { workspace = true }

[[bench]]
name = "compute_pool_overhead"
105
harness = false
106
107
108
109

[[bench]]
name = "tcp_codec_perf"
harness = false