"launch/dynamo-run/vscode:/vscode.git/clone" did not exist on "aeb79e62775d7436fb14fe45acc75c64c9e2526e"
Cargo.toml 3.07 KB
Newer Older
1
2
3
4
5
# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

[workspace]
members = [
6
7
    "components/metrics",
    "components/router",
8
9
10
    "launch/*",
    "lib/llm",
    "lib/runtime",
11
    "lib/tokens",
12
    "lib/async-openai",
13
    "lib/parsers",
14
    "lib/bindings/c",
15
    "lib/engines/*",
16
]
17
resolver = "3"
18
19

[workspace.package]
20
version = "0.4.1"
21
edition = "2021"
22
23
description = "Dynamo Inference Framework"
authors = ["NVIDIA Inc. <sw-dl-dynamo@nvidia.com>"]
24
license = "Apache-2.0"
Neelay Shah's avatar
Neelay Shah committed
25
26
homepage = "https://github.com/ai-dynamo/dynamo"
repository = "https://github.com/ai-dynamo/dynamo.git"
27
keywords = ["llm", "genai", "inference", "nvidia", "distributed", "dynamo"]
28
29

[workspace.dependencies]
30
# Local crates
31
32
33
34
dynamo-runtime = { path = "lib/runtime", version = "0.4.1" }
dynamo-llm = { path = "lib/llm", version = "0.4.1" }
dynamo-tokens = { path = "lib/tokens", version = "0.4.1" }
dynamo-async-openai = { path = "lib/async-openai", version = "0.4.1", features = ["byot", "rustls"]}
35
dynamo-parsers = { path = "lib/parsers", version = "0.4.1" }
36

37
# External dependencies
38
anyhow = { version = "1" }
39
async-nats = { version = "0.40", features = ["service"] }
40
41
async-stream = { version = "0.3" }
async-trait = { version = "0.1" }
42
43
44
45
46
47
48
async_zmq = { version = "0.4.0" }
blake3 = { version = "1" }
bytes = { version = "1" }
chrono = { version = "0.4", default-features = false, features = ["alloc", "std", "clock", "now", "serde"] }
derive_builder = { version = "0.20" }
derive-getters = { version = "0.5" }
either = { version = "1.13", features = ["serde"] }
49
etcd-client = { version = "0.16", features = ["tls"] }
50
futures = { version = "0.3" }
51
hf-hub = { version = "0.4.2", default-features = false, features = ["tokio", "rustls-tls", "ureq"] }
52
humantime = { version = "2.2.0" }
53
libc = { version = "0.2" }
Ryan Olson's avatar
Ryan Olson committed
54
oneshot = { version = "0.1.11", features = ["std", "async"] }
55
prometheus = { version = "0.14" }
56
rand = { version = "0.9.0" }
57
reqwest = { version = "0.12.22", default-features = false, features = ["json", "stream", "rustls-tls"] }
58
59
serde = { version = "1", features = ["derive"] }
serde_json = { version = "1" }
60
strum = { version = "0.27", features = ["derive"] }
61
tempfile = "3"
62
63
64
thiserror = { version = "2.0.11" }
tokio = { version = "1", features = ["full"] }
tokio-stream = { version = "0.1" }
Ryan Olson's avatar
Ryan Olson committed
65
tokio-util = { version = "0.7", features = ["codec", "net", "rt"] }
66
67
tower-http = {version = "0.6", features=["trace"]}
axum = { version = "0.8" , features = ["macros"]}
68
tracing = { version = "0.1" }
69
tracing-subscriber = { version = "0.3", features = ["env-filter", "local-time", "json"] }
70
validator = { version = "0.20.0", features = ["derive"] }
71
uuid = { version = "1.17", features = ["v4", "serde"] }
72
url = {version = "2.5", features = ["serde"]}
73
xxhash-rust = { version = "0.8", features = ["xxh3", "const_xxh3"] }
Graham King's avatar
Graham King committed
74
75
76

[profile.dev.package]
insta.opt-level = 3
77

78
79
80
81
[profile.dev]
# release level optimizations otherwise everything feels slow
opt-level = 3

82
[profile.release]
83
# These make the build much slower but shrink the binary, and could help performance
84
85
codegen-units = 1
lto = true