-
-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathCargo.toml
More file actions
30 lines (28 loc) · 1.01 KB
/
Copy pathCargo.toml
File metadata and controls
30 lines (28 loc) · 1.01 KB
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
[package]
name = "tasklet"
version = "0.3.2"
authors = ["Stavros Grigoriou <unix121@protonmail.com>"]
edition = "2021"
rust-version = "1.90.0"
license = "MIT"
repository = "https://github.com/stav121/tasklet"
readme = "README.md"
description = "An asynchronous task scheduling library"
keywords = ["cron", "scheduling", "tasks", "tasklet", "async"]
[dependencies]
cron = "0.15.0"
chrono = "0.4.42"
log = "0.4.29"
# Only the runtime pieces the library actually uses: spawning tasks, channels /
# Notify, timers and the `select!`/`pin!` macros. Downstream crates can enable
# more features themselves.
tokio = { version = "1.48.0", features = ["rt", "sync", "time", "macros"] }
thiserror = "2.0.17"
# Small, dependency-free PRNG used only for retry backoff jitter.
fastrand = "2.3"
[dev-dependencies]
simple_logger = "5.1.0"
tokio-test = "0.4.4"
# Examples and tests need the macros and a multi-thread runtime on top of the
# library's minimal feature set.
tokio = { version = "1.48.0", features = ["rt-multi-thread", "macros"] }