[package]
edition = "2024"
name = "dynamo-protocols"
version = "1.2.1"
authors = ["NVIDIA Inc. <sw-dl-dynamo@nvidia.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Protocol types for OpenAI-compatible inference APIs with inference-serving extensions."
homepage = "https://github.com/ai-dynamo/dynamo"
readme = "README.md"
license = "Apache-2.0 AND MIT"
repository = "https://github.com/ai-dynamo/dynamo.git"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[lib]
name = "dynamo_protocols"
path = "src/lib.rs"
[[test]]
name = "completion"
path = "tests/completion.rs"
[[test]]
name = "embeddings"
path = "tests/embeddings.rs"
[[test]]
name = "ser_de"
path = "tests/ser_de.rs"
[dependencies.async-openai]
version = "0.34"
features = [
"chat-completion-types",
"response-types",
"completion-types",
"embedding-types",
"image-types",
]
default-features = false
[dependencies.derive_builder]
version = "0.20"
[dependencies.futures]
version = "0.3"
[dependencies.serde]
version = "1"
features = [
"derive",
"rc",
]
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "2.0.17"
[dependencies.tracing]
version = "0.1"
[dependencies.url]
version = "2.5"
features = ["serde"]
[dependencies.uuid]
version = "1.18.1"
features = [
"v4",
"serde",
]
[dev-dependencies.serde_json]
version = "1"
[dev-dependencies.tokio]
version = "=1.48.0"
features = ["full"]
[dev-dependencies.tokio-test]
version = "0.4.4"