toon-rust 0.1.3

Token-Oriented Object Notation (TOON) - JSON for LLM prompts at half the tokens. Rust implementation.
Documentation
[dependencies.serde]
features = ["derive"]
optional = true
version = "1.0"

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "1.0"

[dev-dependencies.criterion]
version = "0.5"

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

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

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

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

[features]
default = ["serde", "std"]
serde = ["dep:serde"]
std = []

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

[package]
authors = ["Prabhat Kumar <itsprabxxx@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["encoding", "parser-implementations"]
description = "Token-Oriented Object Notation (TOON) - JSON for LLM prompts at half the tokens. Rust implementation."
documentation = "https://docs.rs/toon-rust"
edition = "2021"
homepage = "https://github.com/dedsecrattle/toon-rust"
keywords = ["toon", "serialization", "llm", "token"]
license = "MIT"
name = "toon-rust"
readme = "README.md"
repository = "https://github.com/dedsecrattle/toon-rust"
version = "0.1.3"

[package.metadata.docs.rs]
all-features = true
rustc-args = ["--cfg", "docsrs"]
targets = ["x86_64-unknown-linux-gnu"]

[[test]]
name = "decode"
path = "tests/decode.rs"

[[test]]
name = "encode"
path = "tests/encode.rs"

[[test]]
name = "roundtrip"
path = "tests/roundtrip.rs"

[[test]]
name = "serde"
path = "tests/serde.rs"

[[test]]
name = "streaming"
path = "tests/streaming.rs"