# 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" rust-version = "1.64" name = "simd-json" version = "0.14.3" authors = [ "Heinz N. Gies ", "Sunny Gleason", ] build = false exclude = [ "data/*", "fuzz/*", ] autobins = false autoexamples = false autotests = false autobenches = false description = "High performance JSON parser based on a port of simdjson" documentation = "https://docs.rs/simd-json" readme = "README.md" license = "Apache-2.0 OR MIT" repository = "https://github.com/simd-lite/simd-json" [profile.bench] opt-level = 3 lto = true codegen-units = 1 [profile.release] opt-level = 3 lto = true codegen-units = 1 panic = "abort" [lib] name = "simd_json" path = "src/lib.rs" bench = false [[example]] name = "perf" path = "examples/perf.rs" [[test]] name = "alloc" path = "tests/alloc.rs" [[test]] name = "jsonchecker" path = "tests/jsonchecker.rs" [[test]] name = "ordered_float" path = "tests/ordered_float.rs" [[test]] name = "serde_128_bit" path = "tests/serde_128_bit.rs" [[test]] name = "serenity" path = "tests/serenity.rs" [[test]] name = "weird_type" path = "tests/weird_type.rs" [[bench]] name = "parse" path = "benches/parse.rs" harness = false [[bench]] name = "to_tape" path = "benches/to_tape.rs" harness = false [dependencies.ahash] version = "0.8" optional = true [dependencies.alloc_counter] version = "0.0.4" optional = true [dependencies.beef] version = "0.5" optional = true [dependencies.colored] version = "2.0" optional = true [dependencies.getopts] version = "0.2" optional = true [dependencies.halfbrown] version = "0.2" [dependencies.jemallocator] version = "0.5" optional = true [dependencies.once_cell] version = "1.17" optional = true [dependencies.perfcnt] version = "0.8" optional = true [dependencies.ref-cast] version = "1.0" [dependencies.serde] version = "1" features = ["derive"] optional = true [dependencies.serde_json] version = "1" optional = true [dependencies.simdutf8] version = "0.1.4" features = [ "public_imp", "aarch64_neon", ] [dependencies.value-trait] version = "0.10" [dev-dependencies.core_affinity] version = "0.8" [dev-dependencies.float-cmp] version = "0.10" [dev-dependencies.getopts] version = "0.2" [features] 128bit = ["value-trait/128bit"] alloc = ["alloc_counter"] approx-number-parsing = [] arraybackend = ["halfbrown/arraybackend"] bench-all = [ "bench-apache_builds", "bench-event_stacktrace_10kb", "bench-github_events", "bench-canada", "bench-citm_catalog", "bench-log", "bench-twitter", ] bench-apache_builds = [] bench-canada = [] bench-citm_catalog = [] bench-event_stacktrace_10kb = [] bench-github_events = [] bench-log = [] bench-serde = ["serde_json"] bench-twitter = [] big-int-as-float = [] default = [ "swar-number-parsing", "serde_impl", "runtime-detection", ] docsrs = [] hints = [] known-key = [ "once_cell", "ahash", ] no-inline = [] ordered-float = ["value-trait/ordered-float"] perf = [ "perfcnt", "getopts", "colored", "serde_json", ] runtime-detection = ["value-trait/runtime-detection"] serde_impl = [ "serde", "serde_json", "halfbrown/serde", ] swar-number-parsing = [] value-no-dup-keys = [] [target.'cfg(not(target_family = "wasm"))'.dev-dependencies.criterion] version = "0.5" [target.'cfg(not(target_family = "wasm"))'.dev-dependencies.proptest] version = "1.0" [target.'cfg(target_family = "wasm")'.dependencies.getrandom] version = "0.2" features = ["js"] [lints.rust.unexpected_cfgs] level = "allow" priority = 0 check-cfg = [ "cfg(portable)", "cfg(tarpaulin_include)", ]