Repository navigation
Expand file tree
/
Copy pathCargo.toml
More file actions
173 lines (164 loc) · 5.19 KB
/
Copy pathCargo.toml
File metadata and controls
173 lines (164 loc) · 5.19 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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
[workspace]
members = [
"accountsdb",
"engine",
"keeper",
"ledger",
"nucleus",
"processor",
"programs/magic-root-interface",
"programs/magic-root-program",
"programs/v42-calculator-interface",
"programs/v42-calculator-program",
"replicator",
"solana/account",
"solana/program-runtime",
"solana/svm",
"solana/transaction-context",
"solana/transaction-view"
]
resolver = "3"
[workspace.package]
authors = ["MagicBlock contributors"]
edition = "2024"
homepage = "https://github.com/magicblock-labs/engine"
license = "Apache-2.0"
repository = "https://github.com/magicblock-labs/engine"
rust-version = "1.96.1"
version = "0.23.1"
[workspace.dependencies]
accountsdb = { path = "accountsdb", package = "magicblock-accountsdb" }
engine = { path = "engine", package = "magicblock-engine" }
keeper = { path = "keeper", package = "magicblock-keeper" }
ledger = { path = "ledger", package = "magicblock-ledger" }
magic-root-interface = { path = "programs/magic-root-interface" }
magic-root-program = { path = "programs/magic-root-program" }
nucleus = { path = "nucleus", package = "magicblock-engine-nucleus" }
processor = { path = "processor", package = "magicblock-processor" }
solana-account = { path = "solana/account" }
solana-program-runtime = { path = "solana/program-runtime" }
solana-svm = { path = "solana/svm" }
solana-transaction-context = { path = "solana/transaction-context" }
v42-calculator-interface = { path = "programs/v42-calculator-interface", default-features = false }
ahash = "0.8.12"
arc-swap = "1.9.2"
assert_matches = "1.5.0"
base64 = "0.22.1"
bincode = "1.3.3"
bitcode = "0.6.9"
bitflags = "2.13.2"
blake3 = "1.8.7"
bytemuck = "1.25.2"
cfg-if = "1.0.4"
clonetree = "0.0.2"
criterion = "0.8.2"
derive_more = "2.1.1"
env_logger = "0.11.11"
fjall = { version = "3.1.10", default-features = false }
flume = { version = "0.12.0" }
futures = { version = "0.3.34", default-features = false }
heed = { version = "0.22.1", default-features = false }
itertools = "0.14.0"
memmap2 = "0.9.11"
num_cpus = "1.17.0"
oneshot = "0.2.1"
parking_lot = "0.12.5"
prometheus = { version = "0.14.0", default-features = false }
qualifier_attr = "0.2.2"
rand = "0.9.5"
rustix = { version = "1.1.4" }
scc = "3.8.8"
serde = "1.0.229"
serde_bytes = "0.11.19"
serde_with = { version = "3.23.0", default-features = false }
smallvec = "1.16.0"
snedfile = "0.1.0"
tar = "0.4.46"
tempfile = "3.27.0"
thiserror = "2.0.20"
thread_local = "1.1.10"
tokio = "1.53.1"
tokio-util = "0.7.19"
tracing = "0.1.44"
tracing-subscriber = "0.3.23"
twox-hash = { version = "2.1.4", default-features = false }
wincode = "0.5.5"
zstd = { version = "0.13.3", default-features = false }
agave-feature-set = "=4.2.2"
agave-precompiles = "=4.2.2"
agave-syscalls = { package = "solana-syscalls", version = "=4.2.2", default-features = false }
agave-transaction-view = "=4.2.2"
solana-account-info = "3.1.1"
solana-clock = "3.1.0"
solana-compute-budget-instruction = "=4.2.2"
solana-compute-budget-program = "=4.2.2"
solana-cpi = "3.1.0"
solana-ed25519-program = "3.0.0"
solana-epoch-rewards = "3.0.1"
solana-epoch-schedule = "3.1.0"
solana-feature-gate-interface = "4.0.0"
solana-fee-calculator = "=3.2.2"
solana-fee-structure = "3.0.0"
solana-hash = ">=4.4.0,<4.6.0"
solana-instruction = "=3.4.0"
solana-instruction-error = "=2.4.0"
solana-instructions-sysvar = "4.0.0"
solana-keypair = "3.1.2"
solana-last-restart-slot = "3.0.0"
solana-loader-v3-interface = "7.0.0"
solana-message = ">=4.2.3,<4.5.0"
solana-msg = "3.1.0"
solana-native-token = "3.0.0"
solana-packet = "=4.2.0"
solana-precompile-error = "3.0.0"
solana-program-entrypoint = "3.1.1"
solana-program-error = "3.0.1"
solana-pubkey = "=4.2.0"
solana-rent = ">=4.2.1,<4.4.0"
solana-sbpf = "=0.21.1"
solana-sdk-ids = "3.1.0"
solana-short-vec = "=3.2.2"
solana-signature = "=3.4.1"
solana-signer = "3.0.1"
solana-slot-hashes = ">=3.1.0,<3.2.0"
solana-stable-layout = "3.0.1"
solana-svm-callback = "=4.2.2"
solana-svm-feature-set = "=4.2.2"
solana-svm-log-collector = "=4.2.2"
solana-svm-measure = "=4.2.2"
solana-svm-timings = "=4.2.2"
solana-svm-transaction = ">=4.2.0,<4.3.0"
solana-svm-type-overrides = "=4.2.2"
solana-system-interface = "=3.2.0"
solana-system-program = "=4.2.2"
solana-sysvar = "4.0.0"
solana-sysvar-id = "3.1.0"
solana-transaction = ">=4.1.4,<4.2.0"
solana-transaction-error = "=3.3.1"
[patch.crates-io]
agave-transaction-view = { path = "solana/transaction-view" }
solana-account = { path = "solana/account" }
solana-program-runtime = { path = "solana/program-runtime" }
solana-svm = { path = "solana/svm" }
solana-transaction-context = { path = "solana/transaction-context" }
[workspace.lints.rust]
missing_docs = "deny"
rust_2018_idioms = { level = "warn", priority = -1 }
unreachable_pub = "warn"
unused_lifetimes = "warn"
unused_macro_rules = "warn"
unused_qualifications = "warn"
[workspace.lints.clippy]
all = { level = "warn", priority = -1 }
dbg_macro = "deny"
expect_used = "warn"
panic = "warn"
todo = "deny"
unimplemented = "deny"
unwrap_used = "warn"
wildcard_dependencies = "deny"
[profile.dev]
split-debuginfo = "unpacked" # Skip dsymutil on macOS
[profile.dev.package."*"]
debug = 0 # Strip debug symbols from 3rd-party crates
opt-level = 0 # Keep dependency compile time fast