# 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.0"
name = "fast-yaml-parallel"
version = "0.5.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Multi-threaded YAML processing with work-stealing parallelism"
readme = "README.md"
keywords = [
    "yaml",
    "parallel",
    "rayon",
    "performance",
    "parser",
]
categories = [
    "parsing",
    "concurrency",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/bug-ops/fast-yaml"
resolver = "2"

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

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

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

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

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

[[bench]]
name = "parallel_benchmark"
path = "benches/parallel_benchmark.rs"
harness = false

[dependencies.fast-yaml-core]
version = "0.5.1"

[dependencies.memmap2]
version = "0.9"

[dependencies.num_cpus]
version = "1.17"

[dependencies.rayon]
version = "1.11"

[dependencies.tempfile]
version = "3.25"

[dependencies.thiserror]
version = "2.0"

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

[dev-dependencies.fast-yaml-core]
version = "0.5.1"

[dev-dependencies.proptest]
version = "1.10"

[dev-dependencies.tempfile]
version = "3.25"

[lints.clippy]
cargo_common_metadata = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
must_use_candidate = "allow"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.clippy.cargo]
level = "warn"
priority = -1

[lints.clippy.nursery]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
dead_code = "allow"
missing_docs = "warn"
unsafe_code = "deny"
