Crate toon_format

Crate toon_format 

Source
Expand description

§TOON Format for Rust

Token-Oriented Object Notation (TOON) is a compact, human-readable format designed for passing structured data to Large Language Models with significantly reduced token usage.

This crate reserves the toon-format namespace for the official Rust implementation. Full implementation coming soon!

§Resources

§Example Usage (Future)

use toon_format::{encode, decode};

let data = // your data structure
let toon_string = encode(data);
let decoded = decode(&toon_string);

Functions§

decode
Placeholder for future TOON decoding functionality.
encode
Placeholder for future TOON encoding functionality.