# 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"
name = "jetro-core"
version = "0.5.7"
authors = ["Milad (Mike) Taghavi <mitghi.at.me.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "jetro-core: parser, compiler, and VM for the Jetro JSON query language"
readme = "README.md"
keywords = [
    "json-search",
    "json-query",
    "json-path",
    "jmespath",
    "serde",
]
categories = [
    "algorithms",
    "encoding",
]
license = "MIT"
repository = "https://github.com/mitghi/jetro"

[features]
default = ["simd-json"]
fuzz_internal = []
simd-json = ["dep:simd-json"]

[lib]
name = "jetro_core"
path = "src/lib.rs"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.indexmap]
version = "2"

[dependencies.itoa]
version = "1"

[dependencies.jetro-experimental]
version = "0.2"

[dependencies.memchr]
version = "2"

[dependencies.pest]
version = "2.7.0"

[dependencies.pest_derive]
version = "2.7.0"

[dependencies.regex]
version = "1.10"

[dependencies.ryu]
version = "1"

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

[dependencies.serde_json]
version = "1.0.102"

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

[dependencies.smallvec]
version = "1"
features = ["union"]

[dev-dependencies.criterion]
version = "0.5"
default-features = false

[dev-dependencies.jaq-core]
version = "3.0"

[dev-dependencies.jaq-json]
version = "2.0"

[dev-dependencies.jaq-std]
version = "3.0"
