toon-format 0.4.1

Token-Oriented Object Notation (TOON) - a token-efficient JSON alternative for LLM prompts
Documentation
[[bin]]
name = "toon"
path = "src/cli/main.rs"
required-features = ["cli"]

[dependencies.anyhow]
optional = true
version = "1.0.86"

[dependencies.arboard]
optional = true
version = "3.4"

[dependencies.chrono]
optional = true
version = "0.4"

[dependencies.clap]
features = ["derive"]
optional = true
version = "4.5.11"

[dependencies.comfy-table]
optional = true
version = "7.1"

[dependencies.crossterm]
optional = true
version = "0.28"

[dependencies.indexmap]
version = "2.0"

[dependencies.ratatui]
optional = true
version = "0.29"

[dependencies.serde]
features = ["derive"]
version = "1.0.228"

[dependencies.serde_json]
features = ["preserve_order"]
version = "1.0.145"

[dependencies.syntect]
optional = true
version = "5.2"

[dependencies.thiserror]
version = "2.0.17"

[dependencies.tiktoken-rs]
optional = true
version = "0.9.1"

[dependencies.tui-textarea]
optional = true
version = "0.7"

[dependencies.unicode-width]
optional = true
version = "0.2"

[dev-dependencies.datatest-stable]
version = "0.3.3"

[dev-dependencies.glob]
version = "0.3"

[[example]]
name = "examples"
path = "examples/main.rs"

[features]
cli = ["dep:clap", "dep:anyhow", "dep:tiktoken-rs", "dep:comfy-table", "dep:ratatui", "dep:crossterm", "dep:tui-textarea", "dep:arboard", "dep:syntect", "dep:unicode-width", "dep:chrono"]
default = ["cli"]

[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.4.1"

[[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"