jsonata-core 2.1.1

High-performance Rust implementation of JSONata query and transformation language
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.70"
name = "jsonata-core"
version = "2.1.1"
authors = ["txjmb <txjmb@users.noreply.github.com>"]
build = false
exclude = [
    "tests/jsonata-js/*",
    "tests/python/*",
    "python/*",
    "benchmarks/*",
    "docs/*",
    ".github/*",
    "dist-mac/*",
    "node_modules/*",
    "scripts/*",
    ".claude/*",
    "examples/*.py",
    "*.png",
    "mkdocs.yml",
    "CLAUDE.MD",
    "pyproject.toml",
    "uv.lock",
    "rustup-init.exe",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High-performance Rust implementation of JSONata query and transformation language"
homepage = "https://github.com/txjmb/jsonata-core"
documentation = "https://docs.rs/jsonata-core"
readme = "README.md"
keywords = [
    "jsonata",
    "json",
    "query",
    "transform",
]
categories = [
    "parsing",
    "data-structures",
]
license = "MIT"
repository = "https://github.com/txjmb/jsonata-core"

[package.metadata.maturin]
python-source = "python"
module-name = "jsonatapy._jsonatapy"

[features]
default = ["simd"]
python = ["dep:pyo3"]
simd = ["dep:simd-json"]

[lib]
name = "jsonata_core"
crate-type = [
    "cdylib",
    "rlib",
]
path = "src/lib.rs"

[[example]]
name = "evaluator_demo"
path = "examples/evaluator_demo.rs"

[[example]]
name = "parser_demo"
path = "examples/parser_demo.rs"

[[test]]
name = "integration_test"
path = "tests/integration_test.rs"

[[bench]]
name = "evaluator_bench"
path = "benches/evaluator_bench.rs"
harness = false

[dependencies.base64]
version = "0.22"

[dependencies.chrono]
version = "0.4"

[dependencies.indexmap]
version = "2.2"

[dependencies.num-traits]
version = "0.2"

[dependencies.percent-encoding]
version = "2.3"

[dependencies.pyo3]
version = "0.24"
optional = true

[dependencies.rand]
version = "0.8"

[dependencies.regex]
version = "1.10"

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"
features = ["preserve_order"]

[dependencies.simd-json]
version = "0.14"
optional = true

[dependencies.thiserror]
version = "1.0"

[dev-dependencies.criterion]
version = "0.5"

[dev-dependencies.proptest]
version = "1.4"

[profile.bench]
opt-level = 3
lto = "thin"

[profile.dev]
opt-level = 0

[profile.release]
opt-level = 3
lto = true
codegen-units = 1
strip = true