[dependencies.chrono]
version = "0.4"
[dependencies.cron]
version = "0.12"
[dependencies.crossbeam-channel]
version = "0.5"
[dependencies.futures]
optional = true
version = "0.3.26"
[dependencies.thiserror]
version = "1.0"
[dependencies.tokio]
features = ["sync", "rt-multi-thread", "time", "macros"]
optional = true
version = "1.25"
[[example]]
name = "async_simple"
path = "examples/async_simple.rs"
[[example]]
name = "simple"
path = "examples/simple.rs"
[features]
all = ["async", "sync"]
async = ["dep:tokio", "dep:futures"]
default = ["sync"]
sync = []
[lib]
name = "cron_tab"
path = "src/lib.rs"
[package]
authors = ["Tran Tuyen <vat1906@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
description = "A cron job library for Rust."
documentation = "https://docs.rs/cron_tab"
edition = "2018"
homepage = "https://github.com/tuyentv96/rust-crontab"
keywords = ["time", "cron", "scheduler", "crontab", "delay"]
license = "MIT"
name = "cron_tab"
readme = "README.md"
repository = "https://github.com/tuyentv96/rust-crontab"
version = "0.2.3"
[[test]]
name = "async"
path = "tests/async.rs"
[[test]]
name = "sync"
path = "tests/sync.rs"