[package]
name = "simd-json"
version = "0.2.0"
authors = ["Heinz N. Gies <heinz@licenser.net>", "Sunny Gleason"]
edition = "2018"
exclude = [ "data/*" ]
license = "Apache-2.0/MIT"
description = "High performance JSON parser based on a port of simdjson"
repository = "https://github.com/simd-lite/simdjson-rs"
[dependencies]
halfbrown = "0.1"
page_size = "0.4"
itoa = "0.4"
ryu = "1"
serde = { version = "1", features = ["derive"], optional = true}
serde_json = { version = "1", optional = true}
jemallocator = { version = "0.3", optional = true }
perfcnt = { version = "0.5", optional = true }
getopts = { version = "0.2", optional = true }
colored = { version = "1.8", optional = true }
simd-lite = { version = "0.1.0", optional = true }
float-cmp = "0.5"
alloc_counter = {version = "0.0.3", optional = true}
[dev-dependencies]
getopts = "0.2"
proptest = "0.9"
serde_derive = "1"
serde_bytes = "0.11"
criterion = "0.3"
core_affinity = "0.5"
[[bench]]
name = "parse"
harness = false
[features]
default = ["swar-number-parsing", "serde_impl"]
known-key = [ "halfbrown/fxhash" ]
swar-number-parsing = []
serde_impl = [ "serde", "serde_json", "halfbrown/serde" ]
neon = ["simd-lite"]
alloc = ["alloc_counter"]
no-inline = []
safe = []
bench-serde = []
hints = []
perf = ["perfcnt", "getopts", "colored"]
[[example]]
name = "perf"