[[bin]]
name = "toon"
path = "src/cli/main.rs"
[dependencies.anyhow]
version = "1.0.86"
[dependencies.clap]
features = ["derive"]
version = "4.5.11"
[dependencies.comfy-table]
version = "7.1"
[dependencies.indexmap]
version = "2.0"
[dependencies.serde]
features = ["derive"]
version = "1.0.228"
[dependencies.serde_json]
features = ["preserve_order"]
version = "1.0.145"
[dependencies.thiserror]
version = "2.0.17"
[dependencies.tiktoken-rs]
version = "0.9.1"
[dev-dependencies.datatest-stable]
version = "0.3.3"
[dev-dependencies.glob]
version = "0.3"
[[example]]
name = "examples"
path = "examples/main.rs"
[lib]
name = "toon_format"
path = "src/lib.rs"
[package]
authors = ["Johann Schopplich <hello@johannschopplich.com>", "Shreyas K S <ks.shreyas0@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["encoding", "parser-implementations"]
description = "Token-Oriented Object Notation (TOON) - a token-efficient JSON alternative for LLM prompts"
documentation = "https://docs.rs/toon-format"
edition = "2021"
homepage = "https://toonformat.dev"
keywords = ["toon", "format", "llm", "token", "serialization"]
license = "MIT"
name = "toon-format"
readme = "README.md"
repository = "https://github.com/toon-format/toon-rust"
version = "0.3.2"
[[test]]
name = "arrays"
path = "tests/arrays.rs"
[[test]]
name = "delimiters"
path = "tests/delimiters.rs"
[[test]]
name = "errors"
path = "tests/errors.rs"
[[test]]
name = "numeric"
path = "tests/numeric.rs"
[[test]]
name = "objects"
path = "tests/objects.rs"
[[test]]
name = "real_world"
path = "tests/real_world.rs"
[[test]]
name = "round_trip"
path = "tests/round_trip.rs"
[[test]]
harness = false
name = "spec_fixtures"
path = "tests/spec_fixtures.rs"
[[test]]
name = "unicode"
path = "tests/unicode.rs"