-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
64 lines (54 loc) · 1.46 KB
/
Copy pathCargo.toml
File metadata and controls
64 lines (54 loc) · 1.46 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
[package]
name = "taskmill"
version = "0.7.1"
edition = "2021"
rust-version = "1.75"
license = "MIT"
description = "Adaptive priority work scheduler with IO-aware concurrency and SQLite persistence"
keywords = ["scheduler", "priority-queue", "task", "async"]
categories = ["asynchronous", "concurrency"]
repository = "https://github.com/deepjoy/taskmill"
[lib]
bench = false
[features]
default = ["sysinfo-monitor"]
sysinfo-monitor = ["dep:sysinfo"]
metrics = ["dep:metrics"]
profile = ["dep:pprof"]
[dependencies]
tokio = { version = "1", features = ["sync", "time", "rt", "macros"] }
tokio-util = "0.7"
sqlx = { version = "0.8", features = ["runtime-tokio", "sqlite", "chrono"] }
tracing = "0.1"
thiserror = "2.0"
chrono = { version = "0.4", features = ["serde"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
sha2 = "0.10"
fastrand = "2"
metrics = { version = "0.24", optional = true }
sysinfo = { version = "0.33", optional = true }
pprof = { version = "0.13", features = ["flamegraph", "criterion"], optional = true }
[dev-dependencies]
tokio = { version = "1", features = ["full", "test-util"] }
criterion = { version = "0.5", features = ["async_tokio"] }
metrics = "0.24"
metrics-util = "0.19"
[[bench]]
name = "scheduler"
harness = false
[[bench]]
name = "retry"
harness = false
[[bench]]
name = "dependencies"
harness = false
[[bench]]
name = "tags"
harness = false
[[bench]]
name = "groups"
harness = false
[[bench]]
name = "history"
harness = false