# 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.94"
name = "qubit-rayon-executor"
version = "0.5.0"
authors = ["Haixing Hu <starfish.hu@gmail.com>"]
build = false
include = [
    "/Cargo.toml",
    "/LICENSE",
    "/README.md",
    "/README.zh_CN.md",
    "/doc/**/user_guide*.md",
    "/examples/**",
    "/src/**",
    "/tests/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rayon-backed CPU-bound executor service for Qubit Rust libraries"
homepage = "https://github.com/qubit-ltd/rs-rayon-executor"
documentation = "https://docs.rs/qubit-rayon-executor"
readme = "README.md"
keywords = [
    "rayon",
    "executor",
    "cpu",
    "concurrency",
]
categories = ["concurrency"]
license = "Apache-2.0"
repository = "https://github.com/qubit-ltd/rs-rayon-executor"

[lib]
name = "qubit_rayon_executor"
path = "src/lib.rs"
doctest = true

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

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

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

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

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

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

[dependencies.qubit-atomic]
version = "0.13"

[dependencies.qubit-executor]
version = "0.6"

[dependencies.qubit-function]
version = "0.14"

[dependencies.qubit-lock]
version = "0.8"
default-features = false

[dependencies.rayon]
version = "1.12"

[dependencies.thiserror]
version = "2.0"

[dev-dependencies.tokio]
version = "1.52"
features = [
    "macros",
    "rt-multi-thread",
    "time",
]
