[package]
edition = "2021"
rust-version = "1.80"
name = "json-tools-rs"
version = "0.9.2"
build = false
exclude = [
".claude/",
".github/",
".pre-commit-config.yaml",
"docs/",
"jvm/",
"python/",
"scripts/",
"book.toml",
"benches/history.csv",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A high-performance Rust library for advanced JSON manipulation with SIMD-accelerated parsing, Rayon parallelism, and Python bindings with DataFrame/Series support"
readme = "README.md"
keywords = [
"json",
"flatten",
"manipulation",
"simd",
]
categories = [
"data-structures",
"parsing",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/amaye15/json-tools-rs"
[features]
default = []
jvm = ["dep:jni"]
mimalloc = ["dep:mimalloc"]
python = [
"pyo3",
"dep:pythonize",
]
test-assets-performance = []
[lib]
name = "json_tools_rs"
crate-type = [
"rlib",
"cdylib",
]
path = "src/lib.rs"
[[bin]]
name = "json-tools-rs"
path = "src/main.rs"
[[example]]
name = "advance_usage"
path = "examples/advance_usage.rs"
[[example]]
name = "basic_usage"
path = "examples/basic_usage.rs"
[[example]]
name = "bench_compare"
path = "examples/bench_compare.rs"
[[example]]
name = "bench_quick"
path = "examples/bench_quick.rs"
[[example]]
name = "test_type_conversion"
path = "examples/test_type_conversion.rs"
[[bench]]
name = "combination_benchmarks"
path = "benches/combination_benchmarks.rs"
harness = false
[[bench]]
name = "comprehensive_benchmark"
path = "benches/comprehensive_benchmark.rs"
harness = false
[[bench]]
name = "isolation_benchmarks"
path = "benches/isolation_benchmarks.rs"
harness = false
[[bench]]
name = "realworld_benchmarks"
path = "benches/realworld_benchmarks.rs"
harness = false
[[bench]]
name = "stress_benchmarks"
path = "benches/stress_benchmarks.rs"
harness = false
[dependencies.chrono]
version = "0.4.44"
features = [
"std",
"clock",
]
default-features = false
[dependencies.indexmap]
version = ">=2.11, <2.12"
[dependencies.jni]
version = "0.21"
optional = true
[dependencies.memchr]
version = "2.8.0"
[dependencies.mimalloc]
version = "0.1.48"
optional = true
default-features = false
[dependencies.pyo3]
version = "0.29.0"
features = ["extension-module"]
optional = true
[dependencies.pythonize]
version = "0.29.0"
optional = true
[dependencies.rayon]
version = "1.12.0"
[dependencies.regex]
version = "1.12.3"
[dependencies.serde]
version = "1.0.228"
features = [
"rc",
"derive",
]
[dependencies.serde_json]
version = "1.0.149"
[dependencies.smallvec]
version = "1.15.1"
[dev-dependencies.criterion]
version = "0.8.2"
features = ["html_reports"]
[target.'cfg(target_pointer_width = "32")'.dependencies.simd-json]
version = "0.17.0"
[target.'cfg(target_pointer_width = "64")'.dependencies.sonic-rs]
version = "0.5.7"
[profile.profiling]
debug = 1
inherits = "release"
strip = false
[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
overflow-checks = false
strip = true
[profile.release-lto]
lto = "fat"
codegen-units = 1
inherits = "release"