cron_tab 0.2.13

A cron job library for Rust.
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 = "cron_tab"
version = "0.2.13"
authors = ["Tran Tuyen <vat1906@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A cron job library for Rust."
homepage = "https://github.com/tuyentv96/rust-crontab"
documentation = "https://docs.rs/cron_tab"
readme = "README.md"
keywords = [
    "time",
    "cron",
    "scheduler",
    "crontab",
    "delay",
]
license = "MIT"
repository = "https://github.com/tuyentv96/rust-crontab"

[package.metadata.docs.rs]
features = [
    "async",
    "sync",
]

[features]
all = [
    "async",
    "sync",
]
async = [
    "dep:tokio",
    "dep:futures",
]
default = ["sync"]
sync = []

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

[[example]]
name = "async_one_time_execution"
path = "examples/async_one_time_execution.rs"
required-features = ["async"]

[[example]]
name = "async_simple"
path = "examples/async_simple.rs"
required-features = ["async"]

[[example]]
name = "one_time_execution"
path = "examples/one_time_execution.rs"
required-features = ["sync"]

[[example]]
name = "simple"
path = "examples/simple.rs"
required-features = ["sync"]

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

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

[dependencies.chrono]
version = "0.4"

[dependencies.cron]
version = "0.15"

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

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

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "sync",
    "rt-multi-thread",
    "time",
    "macros",
]
optional = true