# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "ftl-jiter" version = "0.6.0" authors = ["Samuel Colvin "] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "Fast Iterable JSON parser (preview build)" 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 [lib] name = "ftl_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 = "0.8.5" features = ["format"] [dependencies.num-bigint] version = "0.4.4" optional = true [dependencies.num-traits] version = "0.2.16" [dependencies.pyo3] version = "0.22.0" optional = true [dependencies.smallvec] version = "1.11.0" [dev-dependencies.bencher] version = "0.1.5" [dev-dependencies.codspeed-bencher-compat] version = "2.7.1" [dev-dependencies.paste] version = "1.0.7" [dev-dependencies.pyo3] version = "0.22.0" 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.22.0" optional = true [features] default = ["num-bigint"] num-bigint = [ "dep:num-bigint", "pyo3/num-bigint", ] python = [ "dep:pyo3", "dep:pyo3-build-config", ] [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