forked from tuyentv96/rust-crontab
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
29 lines (25 loc) · 851 Bytes
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
[package]
name = "cron_tab"
version = "0.2.2"
authors = ["Tran Tuyen <[email protected]>"]
edition = "2018"
description = "A cron job library for Rust."
readme = "README.md"
homepage = "https://github.com/tuyentv96/rust-crontab"
license = "MIT"
documentation = "https://docs.rs/cron_tab"
repository = "https://github.com/tuyentv96/rust-crontab"
keywords = ["time", "cron", "scheduler", "crontab", "delay"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
default = ["sync"]
sync = []
async = ["dep:tokio", "dep:futures"]
all = ["async", "sync"]
[dependencies]
chrono = "0.4"
cron = "0.12"
thiserror = "1.0"
crossbeam-channel = "0.5"
tokio = { version = "1.25", optional = true , features = ["sync", "rt-multi-thread", "time", "macros"] }
futures = { version = "0.3.26", optional = true }