[package]
edition = "2024"
name = "tjson-rs"
version = "0.4.2"
authors = ["R.F. Anthracite <rfa@rfanth.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Text JSON (TJSON) - a readability optimized, round trip compatible alternative to JSON"
homepage = "https://textjson.com"
readme = "README.md"
license = "BSD-3-Clause"
repository = "https://github.com/rfanth/tjson"
[lib]
name = "tjson"
crate-type = [
"rlib",
"cdylib",
]
path = "src/lib.rs"
[[bin]]
name = "tjson"
path = "src/bin/tjson.rs"
[[test]]
name = "file_tests"
path = "tests/file_tests.rs"
[dependencies.pico-args]
version = "0.5"
features = ["eq-separator"]
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
features = [
"preserve_order",
"arbitrary_precision",
]
[dependencies.unicode-general-category]
version = "1.0"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.terminal_size]
version = "0.4"
[target.'cfg(target_arch = "wasm32")'.dependencies.js-sys]
version = "0.3"
[target.'cfg(target_arch = "wasm32")'.dependencies.serde-wasm-bindgen]
version = "0.6"
[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen]
version = "0.2"
[lints.rust]
unsafe_code = "forbid"