[package]
name = "zparse"
version.workspace = true
edition.workspace = true
authors.workspace = true
license-file.workspace = true
repository.workspace = true
rust-version.workspace = true
description = "High-performance JSON/TOML/YAML/XML parser with zero-allocation support"
readme = "../../README.md"
[features]
default = ["serde"]
serde = ["dep:serde"]
[dependencies]
thiserror = { workspace = true }
serde = { workspace = true, optional = true }
bumpalo = { workspace = true }
time = { workspace = true }
indexmap = { workspace = true }
[dev-dependencies]
proptest = { workspace = true }
criterion = { workspace = true }
serde_json = "1.0"
serde_yaml = "0.9"
toml = "0.9.11"
[[bench]]
name = "json"
harness = false
[[bench]]
name = "toml"
harness = false
[[bench]]
name = "yaml"
harness = false
[[bench]]
name = "xml"
harness = false
[[bench]]
name = "convert"
harness = false
[lints.rust]
unsafe_code = "forbid"
[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"