-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
92 lines (80 loc) · 2.14 KB
/
Cargo.toml
File metadata and controls
92 lines (80 loc) · 2.14 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
[workspace]
resolver = "2"
members = [
"crates/streamforge",
"crates/streamforge-core",
"crates/streamforge-config",
"crates/streamforge-metrics",
"crates/streamforge-tls",
"crates/streamforge-ratelimit",
"crates/streamforge-admin", "crates/streamforge-events", "crates/streamforge-tui",
]
[workspace.package]
version = "0.1.0"
edition = "2021"
authors = ["StreamForge Team"]
license = "Apache-2.0"
repository = "https://github.com/streamforge/streamforge"
rust-version = "1.75"
[workspace.dependencies]
# Async Runtime
tokio = { version = "1.35", features = ["full", "tracing"] }
tokio-util = { version = "0.7", features = ["codec", "io"] }
tokio-stream = "0.1"
# HTTP & Networking
hyper = { version = "1.1", features = ["full"] }
hyper-util = { version = "0.1", features = ["full"] }
http = "1.0"
http-body-util = "0.1"
tower = { version = "0.4", features = ["full"] }
tower-service = "0.3"
tower-http = { version = "0.5", features = ["full"] }
# TLS
rustls = { version = "0.22", features = ["ring"] }
tokio-rustls = "0.25"
rustls-pemfile = "2.0"
webpki-roots = "0.26"
# Serialization & Config
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
serde_yaml = "0.9"
toml = "0.8"
# Concurrency
dashmap = "5.5"
parking_lot = "0.12"
crossbeam = "0.8"
arc-swap = "1.6"
# Metrics & Observability
prometheus = { version = "0.13", features = ["process"] }
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }
tracing-opentelemetry = "0.22"
opentelemetry = "0.21"
# Utilities
bytes = "1.5"
pin-project-lite = "0.2"
futures = "0.3"
async-trait = "0.1"
thiserror = "1.0"
anyhow = "1.0"
uuid = { version = "1.6", features = ["v4", "fast-rng"] }
chrono = { version = "0.4", features = ["serde"] }
rand = "0.8"
xxhash-rust = { version = "0.8", features = ["xxh3"] }
siphasher = "1.0"
# CLI
clap = { version = "4.4", features = ["derive", "env"] }
# Testing
criterion = { version = "0.5", features = ["async_tokio"] }
mockall = "0.12"
wiremock = "0.5"
tokio-test = "0.4"
[profile.release]
lto = "thin"
codegen-units = 1
panic = "abort"
strip = true
opt-level = 3
[profile.bench]
lto = "thin"
codegen-units = 1