-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
87 lines (74 loc) · 2.03 KB
/
Copy pathCargo.toml
File metadata and controls
87 lines (74 loc) · 2.03 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
[workspace]
resolver = "2"
members = [
"crates/replay-core",
"crates/replay-api",
"crates/replay-cli",
"crates/replay-sdk",
]
[workspace.package]
version = "0.1.0"
edition = "2021"
rust-version = "1.79"
license = "MIT"
authors = ["zaxcoraider"]
repository = "https://github.com/zaxcoraider/replay"
homepage = "https://github.com/zaxcoraider/replay"
documentation = "https://replay-weld.vercel.app/docs"
description = "Time-travel debugger for Solana transactions"
keywords = ["solana", "debugger", "blockchain", "developer-tools"]
categories = ["development-tools", "api-bindings"]
[workspace.dependencies]
# Solana — keep these as a group, they must version-match litesvm.
# Check https://crates.io/crates/litesvm for the latest compatible versions.
litesvm = "0.6"
solana-sdk = "2.1"
solana-client = "2.1"
solana-transaction-status = "2.1"
solana-program = "2.1"
solana-account-decoder = "2.1"
# Anchor IDL handling
anchor-lang-idl = "0.1"
borsh = "1.5"
# Async + HTTP
tokio = { version = "1", features = ["full"] }
tokio-stream = { version = "0.1", features = ["sync"] }
futures = "0.3"
reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls"] }
# Web server
axum = { version = "0.7", features = ["ws", "macros"] }
tower = "0.5"
tower-http = { version = "0.6", features = ["cors", "trace"] }
tower_governor = "0.4"
# Serialization
serde = { version = "1", features = ["derive"] }
serde_json = "1"
# Error handling
thiserror = "1"
anyhow = "1"
# Observability
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "fmt"] }
# Utility
dashmap = "6"
ulid = "1"
flate2 = "1"
base64 = "0.22"
bs58 = "0.5"
hex = "0.4"
chrono = { version = "0.4", features = ["serde"] }
# CLI
clap = { version = "4", features = ["derive", "env"] }
rustyline = "14"
owo-colors = "4"
indicatif = "0.17"
# Testing
tokio-test = "0.4"
mockito = "1"
[profile.release]
opt-level = 3
lto = "thin"
codegen-units = 1
strip = true
[profile.dev.package."*"]
opt-level = 2 # dep builds slow in debug mode; bump for sanity