# 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 = "2021"
name = "par-core"
version = "1.0.3"
authors = ["강동윤 <kdy1997.dev@gmail.com>"]
build = false
include = [
    "Cargo.toml",
    "src/**/*.rs",
]
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Switchable parallel execution core"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/dudykr/ddbase.git"

[package.metadata.docs.rs]
features = ["chili"]
rustdoc-args = [
    "--cfg",
    "docsrs",
]

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

[dependencies.chili]
version = "0.2.1"
optional = true

[dependencies.once_cell]
version = "1.20.2"

[dependencies.rayon]
version = "1.10.0"
optional = true

[dev-dependencies.scoped-tls]
version = "1"

[features]
chili = [
    "dep:chili",
    "parallel",
]
default = ["parallel"]
parallel = []
rayon = [
    "dep:rayon",
    "parallel",
]