-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
54 lines (49 loc) · 2.28 KB
/
Copy pathCargo.toml
File metadata and controls
54 lines (49 loc) · 2.28 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
[workspace]
resolver = "2"
members = ["crates/overslash-core", "crates/overslash-db", "crates/overslash-api", "crates/overslash-mcp", "crates/overslash-mcp-puppet", "crates/overslash-cli", "crates/oversla-sh", "crates/overslash-metrics", "crates/overslash-metrics-exporter", "crates/overslash-fakes", "tests/mock-target"]
[workspace.package]
edition = "2024"
rust-version = "1.97"
license = "Apache-2.0"
[workspace.dependencies]
serde = { version = "1", features = ["derive"] }
serde_json = "1"
uuid = { version = "1", features = ["v4", "serde"] }
time = { version = "0.3", features = ["serde", "serde-human-readable", "formatting", "parsing"] }
thiserror = "2"
tokio = { version = "1", features = ["full"] }
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }
sqlx = { version = "0.9", features = ["runtime-tokio", "postgres", "macros", "uuid", "time", "json", "migrate"] }
axum = { version = "0.8", features = ["macros"] }
tower-http = { version = "0.7", features = ["cors", "compression-gzip", "trace"] }
reqwest = { version = "0.13", features = ["json", "stream", "form"] }
anyhow = "1"
dotenvy = "0.15"
rand = "0.10"
jsonwebtoken = { version = "11", features = ["rust_crypto"] }
redis = { version = "1.2", features = ["tokio-comp", "connection-manager"] }
dashmap = "6"
clap = { version = "4", features = ["derive", "env"] }
rust-embed = { version = "8", features = ["mime-guess", "interpolate-folder-path", "debug-embed"] }
mime_guess = "2"
url = "2"
subtle = "2"
metrics = "0.24"
metrics-exporter-prometheus = { version = "0.18", default-features = false }
chrono = { version = "0.4", default-features = false, features = ["clock", "serde"] }
regex = "1"
async-trait = "0.1"
# Fast dev builds: minimal debug info
[profile.dev]
debug = "line-tables-only"
# External deps at opt-level 1 (workspace members stay at 0): they burn most
# of the per-test CPU in the integration suite — locally and under coverage
# instrumentation in CI. Coverage fidelity is unaffected: only workspace
# crates appear in reports. Covers the old sqlx-macros override too.
[profile.dev.package."*"]
opt-level = 1
# `test` inherits from `dev`, so this is already the effective value — spelled
# out so the setting survives any future divergence of the two profiles.
[profile.test]
debug = "line-tables-only"