[package]
edition = "2024"
rust-version = "1.85"
name = "jshift"
version = "0.7.0"
authors = ["Shan Alexander Newton"]
build = false
exclude = [
"/target/",
"/fuzz/",
"/.archive/",
"/benches/**/*.json",
"/benches/datasets/",
"/benches/data/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Schema-guided typed JSON on raw bytes: path get/mutate, open views, project — without a Value tree."
homepage = "https://github.com/shan-alexander/jshift"
documentation = "https://docs.rs/jshift"
readme = "README.md"
keywords = [
"json",
"typed",
"in-place",
"mutator",
"zero-copy",
]
categories = [
"parser-implementations",
"data-structures",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/shan-alexander/jshift"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
axum = ["dep:axum"]
default = ["derive"]
derive = ["dep:jshift-derive"]
dhat-heap = ["dep:dhat"]
parallel = ["dep:rayon"]
serde = [
"dep:serde",
"dep:serde_json",
]
[lib]
name = "jshift"
path = "src/lib.rs"
[[example]]
name = "alloc_profile"
path = "examples/alloc_profile.rs"
[[example]]
name = "array_insert_bench"
path = "examples/array_insert_bench.rs"
[[example]]
name = "axum_jshift"
path = "examples/axum_jshift.rs"
required-features = [
"axum",
"derive",
]
[[example]]
name = "bronze_land_bench"
path = "examples/bronze_land_bench.rs"
required-features = ["derive"]
[[example]]
name = "flatten_50mb_bench"
path = "examples/flatten_50mb_bench.rs"
required-features = [
"derive",
"serde",
]
[[example]]
name = "flatten_bench"
path = "examples/flatten_bench.rs"
required-features = [
"derive",
"serde",
]
[[example]]
name = "gen_heavy_parallel_fixture"
path = "examples/gen_heavy_parallel_fixture.rs"
[[example]]
name = "gen_jsonl_fixture"
path = "examples/gen_jsonl_fixture.rs"
[[example]]
name = "hero_matrix"
path = "examples/hero_matrix.rs"
[[example]]
name = "json_parquet_stage_bench"
path = "examples/json_parquet_stage_bench.rs"
required-features = ["derive"]
[[example]]
name = "jsonl_bench"
path = "examples/jsonl_bench.rs"
[[example]]
name = "multi_json_bench"
path = "examples/multi_json_bench.rs"
required-features = ["derive"]
[[example]]
name = "rss_project_profile"
path = "examples/rss_project_profile.rs"
[[example]]
name = "teefury_ingest_bench"
path = "examples/teefury_ingest_bench.rs"
required-features = ["derive"]
[[example]]
name = "typed_doc_bench"
path = "examples/typed_doc_bench.rs"
[[example]]
name = "v06_collections_bench"
path = "examples/v06_collections_bench.rs"
[[example]]
name = "v07_ecosystem_bench"
path = "examples/v07_ecosystem_bench.rs"
required-features = [
"derive",
"serde",
]
[[test]]
name = "jmespath_compliance"
path = "tests/jmespath_compliance.rs"
[[test]]
name = "jmespath_features"
path = "tests/jmespath_features.rs"
[[test]]
name = "teefury_project"
path = "tests/teefury_project.rs"
[[test]]
name = "ui"
path = "tests/ui.rs"
[[bench]]
name = "json_benchmark"
path = "benches/json_benchmark.rs"
harness = false
[[bench]]
name = "project_benchmark"
path = "benches/project_benchmark.rs"
harness = false
[dependencies.axum]
version = "0.8"
features = [
"json",
"tokio",
]
optional = true
default-features = false
[dependencies.dhat]
version = "0.3"
optional = true
[dependencies.jshift-derive]
version = "0.7.0"
optional = true
[dependencies.memchr]
version = "2.7"
[dependencies.rayon]
version = "1.8"
optional = true
[dependencies.serde]
version = "1.0"
optional = true
[dependencies.serde_json]
version = "1.0"
features = ["raw_value"]
optional = true
[dev-dependencies.arrow]
version = "53"
features = ["ipc"]
default-features = false
[dev-dependencies.axum]
version = "0.8"
features = [
"json",
"tokio",
"http1",
]
default-features = false
[dev-dependencies.criterion]
version = "0.5"
[dev-dependencies.gjson]
version = "0.8"
[dev-dependencies.http-body-util]
version = "0.1"
[dev-dependencies.parquet]
version = "53"
features = [
"arrow",
"snap",
]
default-features = false
[dev-dependencies.rayon]
version = "1.8"
[dev-dependencies.serde]
version = "1.0"
features = ["derive"]
[dev-dependencies.serde_json]
version = "1.0"
[dev-dependencies.sonic-rs]
version = "0.5"
[dev-dependencies.tokio]
version = "1"
features = [
"macros",
"rt",
"net",
]
[dev-dependencies.tower]
version = "0.5"
features = ["util"]
[dev-dependencies.trybuild]
version = "1.0"