[package]
edition = "2024"
rust-version = "1.85"
name = "zparse"
version = "2.0.5"
authors = ["pa1nark"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High-performance JSON/TOML/YAML/XML parser with zero-allocation support"
readme = "README.md"
license-file = "LICENSE"
repository = "https://github.com/pixincreate/zParse"
[features]
default = ["serde"]
serde = ["dep:serde"]
[lib]
name = "zparse"
path = "src/lib.rs"
[[test]]
name = "convert_tests"
path = "tests/convert_tests.rs"
[[test]]
name = "fixtures_test"
path = "tests/fixtures_test.rs"
[[test]]
name = "format_detection_tests"
path = "tests/format_detection_tests.rs"
[[test]]
name = "property_tests"
path = "tests/property_tests.rs"
[[test]]
name = "toml_fixtures_test"
path = "tests/toml_fixtures_test.rs"
[[test]]
name = "toml_property_tests"
path = "tests/toml_property_tests.rs"
[[test]]
name = "xml_fixtures_test"
path = "tests/xml_fixtures_test.rs"
[[test]]
name = "yaml_fixtures_test"
path = "tests/yaml_fixtures_test.rs"
[[test]]
name = "yaml_property_tests"
path = "tests/yaml_property_tests.rs"
[[bench]]
name = "convert"
path = "benches/convert.rs"
harness = false
[[bench]]
name = "json"
path = "benches/json.rs"
harness = false
[[bench]]
name = "toml"
path = "benches/toml.rs"
harness = false
[[bench]]
name = "xml"
path = "benches/xml.rs"
harness = false
[[bench]]
name = "yaml"
path = "benches/yaml.rs"
harness = false
[dependencies.bumpalo]
version = "3.19.1"
[dependencies.indexmap]
version = "2.13.0"
[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true
[dependencies.thiserror]
version = "2.0.18"
[dependencies.time]
version = "0.3.47"
features = [
"parsing",
"formatting",
"macros",
]
[dev-dependencies.criterion]
version = "0.8.2"
features = ["html_reports"]
[dev-dependencies.proptest]
version = "1.10.0"
[dev-dependencies.serde_json]
version = "1.0"
[dev-dependencies.serde_yaml]
version = "0.9"
[dev-dependencies.toml]
version = "0.9.11"
[lints.clippy]
as_conversions = "warn"
cloned_instead_of_copied = "warn"
dbg_macro = "warn"
expect_used = "warn"
fn_params_excessive_bools = "warn"
index_refutable_slice = "warn"
indexing_slicing = "warn"
large_futures = "warn"
missing_panics_doc = "warn"
mod_module_files = "warn"
out_of_bounds_indexing = "deny"
panic = "warn"
panic_in_result_fn = "warn"
panicking_unwrap = "warn"
print_stderr = "warn"
print_stdout = "warn"
todo = "warn"
trivially_copy_pass_by_ref = "warn"
unimplemented = "warn"
unnecessary_self_imports = "warn"
unreachable = "warn"
unwrap_in_result = "warn"
unwrap_used = "warn"
use_self = "warn"
wildcard_dependencies = "warn"
[lints.rust]
unsafe_code = "forbid"