[package]
name = "simd-json"
version = "0.4.15"
authors = ["Heinz N. Gies <heinz@licenser.net>", "Sunny Gleason"]
edition = "2018"
exclude = [ "data/*", "fuzz/*"]
license = "Apache-2.0 OR MIT"
description = "High performance JSON parser based on a port of simdjson"
repository = "https://github.com/simd-lite/simd-json"
readme = "README.md"
documentation = "https://docs.rs/simd-json"
rust-version = "1.49"
[dependencies]
beef = { version = "0.5", optional = true }
halfbrown = "0.1"
value-trait = "0.2.10"
simdutf8 = { version = "0.1.4", features = ["public_imp", "aarch64_neon"] }
serde = { version = "1", features = ["derive"], optional = true}
serde_json = { version = "1", optional = true }
alloc_counter = {version = "0.0.4", optional = true }
colored = { version = "2.0", optional = true }
getopts = { version = "0.2", optional = true }
jemallocator = { version = "0.3", optional = true }
perfcnt = { version = "0.8", optional = true }
core_affinity = { version = "0.5", optional = true }
criterion = { version = "0.3", optional = true }
[dev-dependencies]
float-cmp = "0.9"
getopts = "0.2"
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
proptest = "1.0"
[lib]
bench = false
[[bench]]
name = "parse"
harness = false
[features]
default = ["swar-number-parsing", "serde_impl"]
128bit = ["value-trait/128bit"]
known-key = [ "halfbrown/fxhash" ]
swar-number-parsing = []
serde_impl = [ "serde", "serde_json", "halfbrown/serde" ]
allow-non-simd = []
alloc = ["alloc_counter"]
no-inline = []
safe = []
bench = ["criterion", "core_affinity"]
bench-serde = ["serde_json"]
hints = []
perf = ["perfcnt", "getopts", "colored", "serde_json"]
[[example]]
name = "perf"
[profile.bench]
lto = "thin"
[profile.release]
lto = "thin"