curfew 0.0.5

A deadline-aware fork-join model where multiple tasks run in parallel, but only those that finish before a specified absolute clock time are joined and their results collected.
Documentation
# 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 = "curfew"
version = "0.0.5"
authors = ["CryptoPatrick <cryptopatrick@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A deadline-aware fork-join model where multiple tasks run in parallel, but only those that finish before a specified absolute clock time are joined and their results collected."
homepage = "https://github.com/cryptopatrick/curfew"
documentation = "https://docs.rs/curfew"
readme = "README.md"
keywords = [
    "real-time",
    "concurrency",
    "deadline",
    "fork-join",
]
license = "MIT"
repository = "https://github.com/cryptopatrick/curfew"

[features]
default = []
tokio = [
    "dep:tokio",
    "dep:futures",
]

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

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

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

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

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

[[test]]
name = "tests_async"
path = "tests/async_tests.rs"
required-features = ["tokio"]

[dependencies.crossbeam-channel]
version = "0.5"

[dependencies.futures]
version = "0.3"
optional = true

[dependencies.log]
version = "0.4"

[dependencies.tokio]
version = "1.39"
features = [
    "macros",
    "rt",
    "sync",
    "time",
]
optional = true

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