# 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 = "employees"
version = "0.0.6"
authors = ["Maxime BAILLY <maxbailly@hotmail.fr>"]
description = "A small runtime that hides all the boilerplate when using threads."
documentation = "https://docs.rs/employees"
readme = "README.md"
keywords = [
    "employees",
    "multi-threading",
]
categories = ["concurrency"]
license = "MIT"
repository = "https://github.com/Caelmyn/employees"

[[example]]
name = "mini-project"
path = "examples/mini-project/main.rs"
required-features = ["timing"]

[[example]]
name = "nested-runtimes"
path = "examples/nested-runtimes/main.rs"
required-features = ["timing"]

[[example]]
name = "respawn"
path = "examples/respawn/main.rs"

[[example]]
name = "scoped-respawn"
path = "examples/scoped-respawn/main.rs"

[dependencies.affinity]
version = "0.1.2"

[dependencies.minuteurs]
version = "1.0.1"
optional = true

[dependencies.signal-hook]
version = "0.3.17"

[dev-dependencies.anyhow]
version = "1.0.75"

[dev-dependencies.axum]
version = "0.6.20"

[dev-dependencies.crossbeam-channel]
version = "0.5.8"

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

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

[features]
default = []
timing = ["dep:minuteurs"]
