dynamo-renderer 2.0.0

Standalone OpenAI chat-template / prompt formatting (HF chat_template via minijinja).
Documentation
# 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 = "2.0.0"
authors = ["NVIDIA Inc. <sw-dl-dynamo@nvidia.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Standalone OpenAI chat-template / prompt formatting (HF chat_template via minijinja)."
homepage = "https://github.com/ai-dynamo/frontend-crates"
readme = "README.md"
keywords = [
    "llm",
    "chat-template",
    "prompt",
    "jinja",
    "inference",
]
license = "Apache-2.0"
repository = "https://github.com/ai-dynamo/frontend-crates.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 = "3.0.0"

[dependencies.dynamo-tokenizers]
version = "1.5.3"

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

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

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

[dependencies.serde]
version = "1"

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

[dependencies.tracing]
version = "0.1"

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