-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
61 lines (50 loc) · 1.29 KB
/
Cargo.toml
File metadata and controls
61 lines (50 loc) · 1.29 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
[workspace]
resolver = "2"
members = [
"crates/proto",
"crates/clickhouse",
"crates/ingestion",
"crates/api",
"crates/observability",
]
[workspace.package]
version = "0.1.0"
edition = "2024"
rust-version = "1.90"
license = "MIT"
repository = "https://github.com/example/funnel"
[workspace.dependencies]
# Async runtime
tokio = { version = "1.41", features = ["full"] }
# Serialization
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
# ClickHouse
clickhouse = { version = "0.13", features = ["lz4", "chrono", "native-tls"] }
# Nostr
nostr = "0.37"
# HTTP server
axum = "0.8"
tower = "0.5"
tower-http = { version = "0.6", features = ["cors", "trace"] }
# Observability
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }
metrics = "0.24"
metrics-exporter-prometheus = "0.16"
# Error handling
thiserror = "2.0"
anyhow = "1.0"
# Time
chrono = { version = "0.4", features = ["serde"] }
# Testing
tokio-test = "0.4"
axum-test = "18"
mockall = "0.13"
wiremock = "0.6"
testcontainers = "0.23"
testcontainers-modules = { version = "0.11", features = ["clickhouse"] }
# Internal crates
funnel-proto = { path = "crates/proto" }
funnel-clickhouse = { path = "crates/clickhouse" }
funnel-observability = { path = "crates/observability" }