-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathCargo.toml
77 lines (63 loc) · 1.54 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
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
74
75
76
77
[package]
name = "autopulse"
version = "1.3.0"
edition = "2021"
[features]
vendored = ["autopulse-service/vendored", "autopulse-database/vendored"]
sqlite = ["autopulse-database/sqlite"]
postgres = ["autopulse-database/postgres"]
default = ["sqlite", "postgres"]
[dependencies]
# Crates
autopulse-server = { workspace = true }
autopulse-database = { workspace = true }
autopulse-service = { workspace = true }
autopulse-utils = { workspace = true }
# Core
anyhow = { workspace = true }
tokio = { workspace = true }
tracing = { workspace = true }
# CLI
clap = { version = "4.5.29", default-features = false, features = [
"std",
"derive",
"help",
] }
[workspace]
members = ["crates/*"]
[workspace.dependencies]
# Crates
autopulse-server = { path = "crates/server" }
autopulse-database = { path = "crates/database" }
autopulse-service = { path = "crates/service" }
autopulse-utils = { path = "crates/utils" }
# Error handling
anyhow = { version = "1.0.95" }
# Serialization
serde = { version = "1.0.217", features = ["derive"] }
serde_json = "1.0.138"
# Tracing
tracing = "0.1.41"
tracing-subscriber = { version = "0.3.19", features = [
"env-filter",
"fmt",
"local-time",
"time",
] }
# Date and time
chrono = { version = "0.4.38", features = ["serde"] }
# Asynchronous runtime
tokio = { version = "1.43.0", features = [
"process",
"sync",
"macros",
"rt-multi-thread",
] }
# URL parsing
url = "2.5.4"
# [dev-dependencies]
# # Standardize logging output
# tracing-test = "0.2.5"
[profile.dev]
opt-level = 1
incremental = true