simdjson-rust 0.4.0-alpha.2

Rust bindings for the simdjson project.
Documentation
# 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 = "2024"
rust-version = "1.88"
name = "simdjson-rust"
version = "0.4.0-alpha.2"
build = false
exclude = [".github/"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust bindings for the simdjson project."
homepage = "https://crates.io/crates/simdjson-rust"
documentation = "https://docs.rs/simdjson-rust"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/SunDoge/simdjson-rust"

[features]
default = ["serde"]
native = ["simdjson-sys/native"]
serde = ["dep:serde"]

[lib]
name = "simdjson_rust"
path = "src/lib.rs"

[[example]]
name = "issue_20"
path = "examples/issue_20.rs"

[[example]]
name = "perf_sample"
path = "examples/perf_sample.rs"
required-features = ["serde"]

[[example]]
name = "quickstart"
path = "examples/quickstart.rs"

[[example]]
name = "simple"
path = "examples/simple.rs"

[[test]]
name = "basic_tests"
path = "tests/basic_tests.rs"

[[test]]
name = "release_safety"
path = "tests/release_safety.rs"

[[bench]]
name = "parser_bench"
path = "benches/parser_bench.rs"
harness = false
required-features = ["serde"]

[dependencies.cxx]
version = "1.0"

[dependencies.serde]
version = "1"
features = ["derive"]
optional = true

[dependencies.simdjson-sys]
version = "0.4.0-alpha.2"

[dependencies.snafu]
version = "0.9.1"

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]

[dev-dependencies.serde]
version = "1"
features = ["derive"]

[dev-dependencies.serde_json]
version = "1.0"

[dev-dependencies.simd-json]
version = "0.14"

[profile.bench]
lto = "fat"
codegen-units = 1

[profile.release]
lto = "fat"
codegen-units = 1