-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
44 lines (36 loc) · 1.22 KB
/
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
38
39
40
41
42
43
44
[package]
name = "polly-scheduler"
version = "0.1.5"
author = "dongbin86"
edition = "2021"
description = "A robust task scheduling system leveraging Tokio, with built-in fault tolerance, persistence, and recovery capabilities to ensure seamless task management and execution."
license-file = "LICENSE"
documentation = "https://docs.rs/polly-scheduler/0.1.5/"
repository = "https://github.com/dongbin86/polly-scheduler"
[features]
default = ["nativedb"]
nativedb = ["native_db", "native_model", "once_cell", "itertools", "sysinfo"]
[dependencies]
serde = { version = "1.0.213", features = ["derive"] }
thiserror = "1.0.65"
tokio = { version = "1.41.0", features = ["full"] }
croner = "2.0.6"
chrono = "0.4.38"
chrono-tz = "0.10.0"
serde_json = "1.0.132"
ulid = "1.1.2"
tracing = "0.1.40"
async-trait = "0.1.83"
tracing-subscriber = "0.3.18"
native_db = { version = "0.8.1", optional = true }
native_model = { version = "0.4.20", optional = true }
once_cell = { version = "1.19.0", optional = true }
itertools = { version = "0.13.0", optional = true }
sysinfo = { version = "0.32.0", optional = true }
[[example]]
name = "basic"
path = "examples/basic.rs"
[[example]]
name = "nativedb"
path = "examples/nativedb.rs"
required-features = ["nativedb"]