[package]
edition = "2021"
rust-version = "1.83"
name = "jiter"
version = "0.13.0"
authors = ["Samuel Colvin <samuel@pydantic.dev>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Fast Iterable JSON parser"
homepage = "https://github.com/pydantic/jiter/"
readme = "README.md"
keywords = [
"JSON",
"parsing",
"deserialization",
"iter",
]
categories = [
"parser-implementations",
"parsing",
]
license = "MIT"
repository = "https://github.com/pydantic/jiter/"
[package.metadata.docs.rs]
all-features = true
[features]
default = ["num-bigint"]
num-bigint = [
"dep:num-bigint",
"pyo3?/num-bigint",
]
python = [
"dep:pyo3",
"dep:pyo3-build-config",
]
[lib]
name = "jiter"
path = "src/lib.rs"
[[test]]
name = "main"
path = "tests/main.rs"
[[test]]
name = "python"
path = "tests/python.rs"
required-features = ["python"]
[[bench]]
name = "main"
path = "benches/main.rs"
harness = false
[[bench]]
name = "python"
path = "benches/python.rs"
harness = false
required-features = ["python"]
[dependencies.ahash]
version = "0.8.0"
[dependencies.bitvec]
version = "1.0.1"
[dependencies.lexical-parse-float]
version = "1.0.5"
features = ["format"]
[dependencies.num-bigint]
version = "0.4.4"
optional = true
[dependencies.num-traits]
version = "0.2.16"
[dependencies.pyo3]
version = "0.28"
optional = true
[dependencies.smallvec]
version = "1.11.0"
[dev-dependencies.codspeed-criterion-compat]
version = "2.7.2"
[dev-dependencies.paste]
version = "1.0.7"
[dev-dependencies.pyo3]
version = "0.28"
features = ["auto-initialize"]
[dev-dependencies.serde]
version = "1.0.147"
[dev-dependencies.serde_json]
version = "1.0.87"
features = [
"preserve_order",
"arbitrary_precision",
"float_roundtrip",
]
[build-dependencies.pyo3-build-config]
version = "0.28"
optional = true
[lints.clippy]
cast_lossless = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
dbg_macro = "deny"
doc_markdown = "allow"
if_not_else = "allow"
implicit_clone = "allow"
inline_always = "allow"
iter_without_into_iter = "allow"
match_bool = "allow"
match_same_arms = "allow"
missing_errors_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
print_stderr = "deny"
print_stdout = "deny"
return_self_not_must_use = "allow"
[lints.clippy.pedantic]
level = "deny"
priority = -1