-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathCargo.toml
37 lines (31 loc) · 997 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
30
31
32
33
34
35
36
37
[package]
name = "cron_tab"
version = "0.2.7"
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.14"
thiserror = "2"
crossbeam-channel = "0.5"
tokio = { version = "1", optional = true, features = ["sync", "rt-multi-thread", "time", "macros"] }
futures = { version = "0.3", optional = true }
[[example]]
name = "async_simple"
path = "examples/async_simple.rs"
required-features = ["async"]
[package.metadata.docs.rs]
features = ["async", "sync"]