# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "dynamo-renderer"
version = "1.3.0-dev.1"
authors = ["NVIDIA Inc. <sw-dl-dynamo@nvidia.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Standalone, runtime-free OpenAI chat-template / prompt formatting (HF chat_template via minijinja)"
homepage = "https://github.com/ai-dynamo/dynamo"
readme = "README.md"
keywords = [
    "llm",
    "genai",
    "inference",
    "nvidia",
    "distributed",
]
license = "Apache-2.0"
repository = "https://github.com/ai-dynamo/dynamo.git"

[lib]
name = "dynamo_renderer"
path = "src/lib.rs"

[dependencies.anyhow]
version = "1"

[dependencies.chrono]
version = "0.4"
features = [
    "alloc",
    "std",
    "clock",
    "now",
    "serde",
]
default-features = false

[dependencies.dynamo-protocols]
version = "1.3.0-dev.1"

[dependencies.dynamo-tokenizers]
version = "1.3.0-dev.1"

[dependencies.either]
version = "1.13"
features = ["serde"]

[dependencies.minijinja]
version = "2.20.0"
features = [
    "loader",
    "loop_controls",
]

[dependencies.minijinja-contrib]
version = "2.20.0"
features = ["pycompat"]

[dependencies.serde]
version = "1"
features = [
    "derive",
    "rc",
]

[dependencies.serde_json]
version = "1"
features = [
    "preserve_order",
    "raw_value",
]

[dependencies.tracing]
version = "0.1"

[dev-dependencies.tempfile]
version = "3"
