Cargo.toml 2.87 KB
Newer Older
1
2
3
# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# 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

Ryan Olson's avatar
Ryan Olson committed
22
[dependencies]
23
24
25
26
27
28
# Use workspace dependencies where available
anyhow = { workspace = true }
async-nats = { workspace = true }
async-stream = { workspace = true }
async-trait = { workspace = true }
async_zmq = { workspace = true }
29
axum = { workspace = true }
30
31
32
33
34
35
blake3 = { workspace = true }
bytes = { workspace = true }
chrono = { workspace = true }
derive_builder = { workspace = true }
derive-getters = { workspace = true }
either = { workspace = true }
36
etcd-client = { workspace = true }
37
futures = { workspace = true }
38
humantime = { workspace = true }
39
parking_lot = { workspace = true }
40
prometheus = { workspace = true }
41
rand = { workspace = true }
42
43
44
45
46
serde = { workspace = true }
serde_json = { workspace = true }
tokio = { workspace = true }
tokio-stream = { workspace = true }
tokio-util = { workspace = true }
47
tower-http = { workspace = true }
48
tracing = { workspace = true }
49
tracing-subscriber = { workspace = true }
50
51
52
53
tracing-opentelemetry = { workspace = true }
opentelemetry = { workspace = true }
opentelemetry_sdk = { workspace = true }
opentelemetry-otlp = { workspace = true }
54
thiserror = { workspace = true }
55
uuid = { workspace = true }
56
57
url = { workspace = true }
validator = { workspace = true }
58
xxhash-rust = { workspace = true }
Ryan Olson's avatar
Ryan Olson committed
59

60
arc-swap = { version = "1" }
61
async-once-cell = { version = "0.5.4" }
62
bincode = { version = "1" }
63
console-subscriber = { version = "0.4", optional = true }
64
educe = { version = "0.6.0" }
65
figment = { version = "0.10.19", features = ["env", "json", "toml", "test"] }
66
inotify = { version = "0.11" }
Ryan Olson's avatar
Ryan Olson committed
67
local-ip-address = { version = "0.6.3" }
68
log = { version = "0.4" }
Ryan Olson's avatar
Ryan Olson committed
69
70
71
nid = { version = "3.0.0", features = ["serde"] }
nix = { version = "0.29", features = ["signal"] }
nuid = { version = "0.5" }
72
once_cell = { version = "1" }
73
rayon = { version = "1.10" }
74
75
regex = { version = "1" }
socket2 = { version = "0.5.8" }
76
tokio-rayon = { version = "2.1" }
Ryan Olson's avatar
Ryan Olson committed
77
78

[dev-dependencies]
79
assert_matches = { version = "1.5.0" }
80
criterion = { version = "0.5", features = ["async_tokio"] }
81
env_logger = { version = "0.11" }
82
reqwest = { workspace = true }
83
rstest = { version = "0.23.0" }
84
temp-env = { version = "0.3.6" , features=["async_closure"] }
85
86
stdio-override = {version= "0.2.0"}
jsonschema = {version = "0.17"}
87
88
89
90
tempfile = { workspace = true }

[[bench]]
name = "compute_pool_overhead"
91
harness = false