[dependencies.async-openai-macros]
version = "0.1.0"
[dependencies.backoff]
features = ["tokio"]
version = "0.4.0"
[dependencies.base64]
version = "0.22.1"
[dependencies.bytes]
version = "1.9.0"
[dependencies.derive_builder]
version = "0.20.2"
[dependencies.eventsource-stream]
version = "0.2.3"
[dependencies.futures]
version = "0.3.31"
[dependencies.rand]
version = "0.9.0"
[dependencies.reqwest]
default-features = false
features = ["json", "stream", "multipart"]
version = "0.12.24"
[dependencies.reqwest-eventsource]
version = "0.6.0"
[dependencies.secrecy]
features = ["serde"]
version = "0.10.3"
[dependencies.serde]
features = ["derive", "rc"]
version = "1.0.217"
[dependencies.serde_json]
version = "1.0.135"
[dependencies.thiserror]
version = "2.0.11"
[dependencies.tokio]
features = ["fs", "macros"]
version = "1.43.0"
[dependencies.tokio-stream]
version = "0.1.17"
[dependencies.tokio-tungstenite]
default-features = false
optional = true
version = "0.26.1"
[dependencies.tokio-util]
features = ["codec", "io-util"]
version = "0.7.13"
[dependencies.tracing]
version = "0.1.41"
[dependencies.url]
features = ["serde"]
version = "2.5"
[dependencies.uuid]
features = ["v4", "serde"]
version = "1.17"
[dev-dependencies.serde_json]
version = "1.0"
[dev-dependencies.tokio-test]
version = "0.4.4"
[features]
byot = []
default = ["rustls"]
native-tls = ["reqwest/native-tls"]
native-tls-vendored = ["reqwest/native-tls-vendored"]
realtime = ["dep:tokio-tungstenite"]
rustls = ["reqwest/rustls-tls-native-roots"]
rustls-webpki-roots = ["reqwest/rustls-tls-webpki-roots"]
[lib]
name = "dynamo_async_openai"
path = "src/lib.rs"
[package]
authors = ["NVIDIA Inc. <sw-dl-dynamo@nvidia.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
description = "Fork of async-openai customized for Dynamo."
edition = "2024"
homepage = "https://github.com/ai-dynamo/dynamo"
license = "Apache-2.0 AND MIT"
name = "dynamo-async-openai"
readme = "README.md"
repository = "https://github.com/ai-dynamo/dynamo.git"
version = "0.7.0"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[[test]]
name = "bring-your-own-type"
path = "tests/bring-your-own-type.rs"
required-features = ["byot"]
[[test]]
name = "completion"
path = "tests/completion.rs"
[[test]]
name = "embeddings"
path = "tests/embeddings.rs"
[[test]]
name = "ser_de"
path = "tests/ser_de.rs"
[[test]]
name = "whisper"
path = "tests/whisper.rs"