-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathCargo.toml
More file actions
73 lines (64 loc) · 1.65 KB
/
Cargo.toml
File metadata and controls
73 lines (64 loc) · 1.65 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
65
66
67
68
69
70
71
72
73
[package]
name = "petit"
version = "0.2.0"
edition = "2024"
description = "A minimal, lightweight task orchestrator with cron-like scheduling"
default-run = "pt"
[[bin]]
name = "pt"
path = "src/main.rs"
bench = false
[lib]
name = "petit"
path = "src/lib.rs"
bench = false
[dependencies]
async-trait = "0.1"
tokio = { version = "1", features = ["full"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
serde_yaml = "0.9"
thiserror = "2"
uuid = { version = "1", features = ["v4", "serde"] }
sqlx = { version = "0.8", features = [
"runtime-tokio",
"sqlite",
], optional = true }
cron = "0.15"
chrono = { version = "0.4", features = ["serde"] }
chrono-tz = "0.10"
clap = { version = "4", features = ["derive", "env"] }
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
toml = "0.9.10"
dirs = "6"
ratatui = { version = "0.30", optional = true }
crossterm = { version = "0.29", optional = true }
axum = { version = "0.8", optional = true }
tower-http = { version = "0.6", features = ["cors", "trace"], optional = true }
[dev-dependencies]
tokio-test = "0.4"
sqlx = { version = "0.8", features = ["runtime-tokio", "sqlite"] }
tempfile = "3"
tower = { version = "0.5", features = ["util"] }
http-body-util = "0.1"
criterion = { version = "0.8.1", features = ["async_tokio"] }
[[bench]]
name = "dag_execution"
harness = false
[[bench]]
name = "scheduler"
harness = false
[[bench]]
name = "storage"
harness = false
[features]
default = ["api"]
sqlite = ["sqlx"]
tui = ["sqlite", "ratatui", "crossterm"]
api = ["axum", "tower-http"]
[[bin]]
name = "petit-tui"
path = "src/bin/petit-tui.rs"
required-features = ["tui"]
bench = false