[package]
edition = "2021"
name = "etoon"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Fast TOON (Token-Oriented Object Notation) encoder. 8x faster than toons, 2.7x faster than the official TS SDK."
readme = "README.md"
keywords = [
"toon",
"serialization",
"llm",
"json",
"encoder",
]
categories = [
"encoding",
"parser-implementations",
]
license = "Apache-2.0"
repository = "https://github.com/coseto6125/etoon"
[features]
default = ["python"]
python = ["dep:pyo3"]
[lib]
name = "_etoon"
crate-type = [
"cdylib",
"rlib",
]
path = "src/lib.rs"
[[bin]]
name = "bench"
path = "src/bin/bench.rs"
[[bin]]
name = "etoon"
path = "src/bin/etoon.rs"
required-features = []
[dependencies.itoa]
version = "1.0.18"
[dependencies.pyo3]
version = "0.28"
features = ["extension-module"]
optional = true
[dependencies.sonic-rs]
version = "0.5.8"
default-features = false
[profile.release]
opt-level = 3
lto = "thin"
codegen-units = 1
strip = true