[package]
edition = "2021"
name = "toonconv"
version = "0.1.0"
authors = ["lst97"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Rust CLI tool for converting JSON to TOON (Token-Oriented Object Notation) format"
readme = "README.md"
keywords = [
"json",
"toon",
"converter",
"cli",
"llm",
]
categories = [
"command-line-utilities",
"text-processing",
]
license = "MIT"
repository = "https://github.com/lst97/toonconv"
[package.metadata.docs.rs]
all-features = true
[features]
default = ["std"]
simd = ["simd-json"]
std = []
[lib]
name = "toonconv"
path = "src/lib.rs"
[[bin]]
name = "toonconv"
path = "src/main.rs"
[[example]]
name = "serde_infty"
path = "examples/serde_infty.rs"
[[test]]
name = "full_test_suite"
path = "tests/integration/full_test_suite.rs"
[[test]]
name = "phase5_directory_test"
path = "tests/integration/phase5_directory_test.rs"
[[test]]
name = "regression_bench"
path = "tests/performance/regression_bench.rs"
[[test]]
name = "spec_fixtures_test"
path = "tests/integration/spec_fixtures_test.rs"
[[test]]
name = "toon_spec_compliance_test"
path = "tests/integration/toon_spec_compliance_test.rs"
[[test]]
name = "usability_test"
path = "tests/integration/usability_test.rs"
[[bench]]
name = "conversion_bench"
path = "benches/conversion_bench.rs"
harness = false
[[bench]]
name = "simd_eval"
path = "benches/simd_eval.rs"
[[bench]]
name = "speed_comparison"
path = "benches/speed_comparison.rs"
harness = false
[[bench]]
name = "token_count_bench"
path = "benches/token_count_bench.rs"
[[bench]]
name = "token_efficiency"
path = "benches/token_efficiency.rs"
harness = false
[dependencies.anyhow]
version = "1.0"
[dependencies.chrono]
version = "0.4"
features = ["serde"]
[dependencies.clap]
version = "4.5"
features = [
"derive",
"cargo",
]
[dependencies.console]
version = "0.15"
[dependencies.indicatif]
version = "0.17"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
features = ["preserve_order"]
[dependencies.simd-json]
version = "0.13"
optional = true
[dependencies.terminal_size]
version = "0.3"
[dependencies.thiserror]
version = "1.0"
[dependencies.walkdir]
version = "2.5"
[dev-dependencies.assert_matches]
version = "1.5"
[dev-dependencies.criterion]
version = "0.5"
[dev-dependencies.pretty_assertions]
version = "1.4"
[dev-dependencies.quick-xml]
version = "0.31"
features = ["serialize"]
[dev-dependencies.serde_yaml]
version = "0.9"
[dev-dependencies.tempfile]
version = "3.23"
[dev-dependencies.tiktoken-rs]
version = "0.5"
[profile.dev]
opt-level = 0
debug = 2
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
panic = "abort"