"pcdet/datasets/vscode:/vscode.git/clone" did not exist on "b43d99f549bf56bba314fe4ffb2d68b9dfdefa84"
Cargo.toml 2.16 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
17
18
19
[workspace]
# empty workspace to exclude from top level workspace
# excluded due to pyo3 extension module build issues

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

[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
37

38
dynamo-llm = { path = "../../llm" }
Neelay Shah's avatar
Neelay Shah committed
39
dynamo-runtime = { path = "../../runtime" }
40
dynamo-engine-python = { path = "../../engines/python" }
41

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

# "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",
] }

69
pythonize = "0.23"