# 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.91.0"
name = "takeaway"
version = "0.1.1"
authors = ["arya dradjica <uhe8ob7m71igsl1d@bal-e.org>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "An efficient work-stealing task queue with prioritization and batching."
homepage = "https://codeberg.org/bal-e/takeaway"
readme = "README.md"
keywords = [
    "task-scheduling",
    "work-stealing",
    "data-structures",
]
categories = [
    "concurrency",
    "data-structures",
    "no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://codeberg.org/bal-e/takeaway"

[package.metadata.docs.rs]
all-features = true

[features]
crossbeam-utils = ["dep:crossbeam-utils"]
default = ["std"]
std = ["crossbeam-utils?/std"]

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

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

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

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

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

[dependencies.atomic-wait]
version = "1.0"

[dependencies.atomig]
version = "0.4.3"
features = []
default-features = false

[dependencies.crossbeam-utils]
version = "0.8"
features = []
optional = true
default-features = false

[dev-dependencies.criterion]
version = "0.7.0"

[dev-dependencies.crossbeam-deque]
version = "0.8.6"

[dev-dependencies.rand]
version = "0.9.1"
