"detection/vscode:/vscode.git/clone" did not exist on "aaac69908aa9694035949446376355faba95232a"
Cargo.toml 1.92 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

16
[package]
Neelay Shah's avatar
Neelay Shah committed
17
name = "dynamo-py3"
18
version = "0.1.0"
19
20
21
edition = "2021"
authors = ["NVIDIA"]
license = "Apache-2.0"
Neelay Shah's avatar
Neelay Shah committed
22
23
homepage = "https://github.com/ai-dynamo/dynamo"
repository = "https://github.com/ai-dynamo/dynamo.git"
24
25
26
27
28
29
30
31
32

[lib]
path = "rust/lib.rs"
name = "_core"
# "cdylib" is necessary to produce a shared library for Python to import from.
crate-type = ["cdylib"]


[dependencies]
Neelay Shah's avatar
Neelay Shah committed
33
34
35

dynamo-llm = { path = "../../llm", features = ["python"] }
dynamo-runtime = { path = "../../runtime" }
36
37

futures = "0.3"
38
once_cell = "1.20.3"
39
40
serde = "1"
serde_json = "1.0.138"
41
thiserror = "2.0"
42
43
44
tokio = { version = "1", features = ["full"] }
tokio-stream = "0"
tracing = "0"
45
tracing-subscriber = { version = "0.3", features = ["fmt", "env-filter"] }
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64

# "extension-module" tells pyo3 we want to build an extension module (skips linking against libpython.so)
# "abi3-py39" tells pyo3 (and maturin) to build using the stable ABI with minimum Python version 3.9
pyo3 = { version = "0.23.4", default-features = false, features = [
  "macros",
  "experimental-async",
  "experimental-inspect",
  "extension-module",
  "py-clone",
] }

pyo3-async-runtimes = { version = "0.23.0", default-features = false, features = [
  "attributes",
  "testing",
  "tokio-runtime",
  "unstable-streams",
] }

pythonize = "0.23"