[package]
edition = "2021"
rust-version = "1.70"
name = "hedl-json"
version = "2.0.0"
authors = ["marcflp <marc@dweve.com>"]
build = false
include = [
"Cargo.toml",
"README.md",
"LICENSE",
"NOTICE",
"CHANGELOG*",
"src/**",
"tests/**",
"benches/**",
"examples/**",
]
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "HEDL to/from JSON conversion"
homepage = "https://dweve.com"
documentation = "https://docs.rs/hedl-json"
readme = "README.md"
keywords = [
"hedl",
"data-format",
"serialization",
"parser",
"token-efficient",
]
categories = [
"encoding",
"parser-implementations",
"data-structures",
]
license = "Apache-2.0"
repository = "https://github.com/dweve-ai/hedl"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[badges.maintenance]
status = "actively-developed"
[features]
default = ["json-path"]
json-path = ["dep:serde_json_path"]
lenient = ["serde_jsonrc"]
validation = ["jsonschema"]
[lib]
name = "hedl_json"
path = "src/lib.rs"
[[example]]
name = "array_performance"
path = "examples/array_performance.rs"
[[example]]
name = "jsonpath_demo"
path = "examples/jsonpath_demo.rs"
[[example]]
name = "partial_parsing_demo"
path = "examples/partial_parsing_demo.rs"
[[example]]
name = "profile_allocations"
path = "examples/profile_allocations.rs"
[[example]]
name = "schema_generation"
path = "examples/schema_generation.rs"
[[example]]
name = "streaming_demo"
path = "examples/streaming_demo.rs"
[[example]]
name = "test_unicode_escape"
path = "examples/test_unicode_escape.rs"
[[example]]
name = "zero_copy_demo"
path = "examples/zero_copy_demo.rs"
[[test]]
name = "array_optimization_proptests"
path = "tests/array_optimization_proptests.rs"
[[test]]
name = "array_optimization_tests"
path = "tests/array_optimization_tests.rs"
[[test]]
name = "config_builder_tests"
path = "tests/config_builder_tests.rs"
[[test]]
name = "conversion_roundtrip_tests"
path = "tests/conversion_roundtrip_tests.rs"
[[test]]
name = "integer_overflow_tests"
path = "tests/integer_overflow_tests.rs"
[[test]]
name = "json_conversion_tests"
path = "tests/json_conversion_tests.rs"
[[test]]
name = "json_error_paths_tests"
path = "tests/json_error_paths_tests.rs"
[[test]]
name = "jsonpath_tests"
path = "tests/jsonpath_tests.rs"
[[test]]
name = "large_document_tests"
path = "tests/large_document_tests.rs"
[[test]]
name = "lenient_parsing_tests"
path = "tests/lenient_parsing_tests.rs"
[[test]]
name = "list_conversion_tests"
path = "tests/list_conversion_tests.rs"
[[test]]
name = "optimization_validation"
path = "tests/optimization_validation.rs"
[[test]]
name = "partial_parsing_tests"
path = "tests/partial_parsing_tests.rs"
[[test]]
name = "performance_optimizations"
path = "tests/performance_optimizations.rs"
[[test]]
name = "schema_gen_tests"
path = "tests/schema_gen_tests.rs"
[[test]]
name = "streaming_tests"
path = "tests/streaming_tests.rs"
[[test]]
name = "zero_copy_test"
path = "tests/zero_copy_test.rs"
[[bench]]
name = "array_optimization"
path = "benches/array_optimization.rs"
harness = false
[dependencies.hedl-core]
version = "2.0.0"
[dependencies.jsonschema]
version = "0.27"
optional = true
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.serde_json_path]
version = "0.7"
optional = true
[dependencies.serde_jsonrc]
version = "0.1"
optional = true
[dependencies.smallvec]
version = "1.13"
[dependencies.thiserror]
version = "2.0"
[dev-dependencies.criterion]
version = "0.8"
features = [
"html_reports",
"async_tokio",
]
[dev-dependencies.hedl-test]
version = "2.0.0"
[lints.clippy]
all = "warn"
[lints.rust]
unused_must_use = "allow"
warnings = "warn"
[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(loom)"]