-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
70 lines (53 loc) · 1.62 KB
/
Cargo.toml
File metadata and controls
70 lines (53 loc) · 1.62 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
[package]
name = "flashwatch"
version = "0.1.0"
edition = "2024"
authors = ["Rodrigo Ortega <ortegarod000@gmail.com>"]
description = "Real-time Base L2 flashblock monitor and analyzer"
license = "MIT"
repository = "https://github.com/ortegarod/flashwatch"
keywords = ["base", "ethereum", "l2", "flashblocks", "monitoring"]
categories = ["command-line-utilities", "cryptography::cryptocurrencies"]
[dependencies]
# Async runtime
tokio = { version = "1", features = ["full"] }
# WebSocket client
tokio-tungstenite = { version = "0.26", features = ["rustls-tls-webpki-roots"] }
futures-util = "0.3"
# Ethereum types
alloy-primitives = "1.5"
alloy-rpc-types-eth = "1"
# Serialization
serde = { version = "1", features = ["derive"] }
serde_json = "1"
dirs = "5"
# CLI
clap = { version = "4", features = ["derive", "env"] }
# Logging
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
# Time
chrono = "0.4"
# Terminal UI
crossterm = "0.28"
# HTTP client (for JSON-RPC calls)
reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls"] }
# Web server (for the dashboard)
axum = { version = "0.8", features = ["ws"] }
tower-http = { version = "0.6", features = ["fs"] }
# Color output
colored = "3"
# Hex encoding/decoding
hex = "0.4"
# Decompression (flashblocks feed is brotli-compressed)
brotli = "7"
# Error handling
eyre = "0.6"
base64 = "0.22"
# Config
toml = "0.8"
# Database
rusqlite = { version = "0.32", features = ["bundled"] }
# TCP keepalive on WebSocket connections
socket2 = { version = "0.5", features = ["all"] }
k256 = { version = "0.13.4", features = ["ecdsa"] }