-
Notifications
You must be signed in to change notification settings - Fork 2.8k
/
Copy pathCargo.toml
169 lines (162 loc) · 6.57 KB
/
Cargo.toml
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
[workspace]
# Use the new resolver to prevent dev-deps and build-deps from enabling debugging or test features in production.
members = [
"benches",
"bin/e2e-test-client",
"bin/fuel-core",
"bin/fuel-core-client",
"bin/keygen",
"crates/chain-config",
"crates/client",
"crates/compression",
"crates/database",
"crates/fuel-core",
"crates/fuel-gas-price-algorithm",
"crates/keygen",
"crates/metrics",
"crates/proof_system/global_merkle_root/service",
"crates/proof_system/global_merkle_root/storage",
"crates/services",
"crates/services/consensus_module",
"crates/services/consensus_module/bft",
"crates/services/consensus_module/poa",
"crates/services/executor",
"crates/services/gas_price_service",
"crates/services/importer",
"crates/services/p2p",
"crates/services/parallel-executor",
"crates/services/producer",
"crates/services/relayer",
"crates/services/shared-sequencer",
"crates/services/sync",
"crates/services/txpool_v2",
"crates/services/upgradable-executor",
"crates/services/upgradable-executor/wasm-executor",
"crates/storage",
"crates/trace",
"crates/types",
"tests",
"xtask",
]
resolver = "2"
exclude = ["version-compatibility"]
[profile.release]
codegen-units = 1
lto = "fat"
# The difference in performance for "fat" and "thin" is small,
# but "thin" LTO is much faster to compile.
# If you play with benchmarks or flamegraphs, it is better to use "thin"
# To speedup iterations between compilation.
#lto = "thin"
panic = "unwind"
[workspace.package]
authors = ["Fuel Labs <[email protected]>"]
categories = ["concurrency", "cryptography::cryptocurrencies", "emulators"]
edition = "2021"
homepage = "https://fuel.network/"
keywords = ["blockchain", "cryptocurrencies", "fuel-vm", "vm"]
license = "BUSL-1.1"
repository = "https://github.com/FuelLabs/fuel-core"
version = "0.41.7"
[workspace.dependencies]
# Workspace members
fuel-core = { version = "0.41.7", path = "./crates/fuel-core", default-features = false }
fuel-core-client-bin = { version = "0.41.7", path = "./bin/fuel-core-client" }
fuel-core-bin = { version = "0.41.7", path = "./bin/fuel-core" }
fuel-core-keygen = { version = "0.41.7", path = "./crates/keygen" }
fuel-core-keygen-bin = { version = "0.41.7", path = "./bin/keygen" }
fuel-core-chain-config = { version = "0.41.7", path = "./crates/chain-config", default-features = false }
fuel-core-client = { version = "0.41.7", path = "./crates/client" }
fuel-core-compression = { version = "0.41.7", path = "./crates/compression" }
fuel-core-database = { version = "0.41.7", path = "./crates/database" }
fuel-core-metrics = { version = "0.41.7", path = "./crates/metrics" }
fuel-core-services = { version = "0.41.7", path = "./crates/services" }
fuel-core-consensus-module = { version = "0.41.7", path = "./crates/services/consensus_module" }
fuel-core-bft = { version = "0.41.7", path = "./crates/services/consensus_module/bft" }
fuel-core-poa = { version = "0.41.7", path = "./crates/services/consensus_module/poa" }
fuel-core-shared-sequencer = { version = "0.41.7", path = "crates/services/shared-sequencer" }
fuel-core-executor = { version = "0.41.7", path = "./crates/services/executor", default-features = false }
fuel-core-importer = { version = "0.41.7", path = "./crates/services/importer" }
fuel-core-gas-price-service = { version = "0.41.7", path = "crates/services/gas_price_service" }
fuel-core-p2p = { version = "0.41.7", path = "./crates/services/p2p" }
fuel-core-parallel-executor = { version = "0.41.7", path = "./crates/services/parallel-executor" }
fuel-core-producer = { version = "0.41.7", path = "./crates/services/producer" }
fuel-core-relayer = { version = "0.41.7", path = "./crates/services/relayer" }
fuel-core-sync = { version = "0.41.7", path = "./crates/services/sync" }
fuel-core-txpool = { version = "0.41.7", path = "./crates/services/txpool_v2" }
fuel-core-storage = { version = "0.41.7", path = "./crates/storage", default-features = false }
fuel-core-trace = { version = "0.41.7", path = "./crates/trace" }
fuel-core-types = { version = "0.41.7", path = "./crates/types", default-features = false }
fuel-core-tests = { version = "0.0.0", path = "./tests" }
fuel-core-upgradable-executor = { version = "0.41.7", path = "./crates/services/upgradable-executor" }
fuel-core-wasm-executor = { version = "0.41.7", path = "./crates/services/upgradable-executor/wasm-executor", default-features = false }
fuel-core-xtask = { version = "0.0.0", path = "./xtask" }
fuel-gas-price-algorithm = { version = "0.41.7", path = "crates/fuel-gas-price-algorithm" }
# Proof system
fuel-core-global-merkle-root-storage = { version = "0.41.7", path = "./crates/proof_system/global_merkle_root/storage" }
fuel-core-global-merkle-root-service = { version = "0.41.7", path = "./crates/proof_system/global_merkle_root/service" }
# Fuel dependencies
fuel-vm-private = { version = "0.59.2", package = "fuel-vm", default-features = false }
# Common dependencies
anyhow = "1.0"
async-trait = "0.1"
aws-sdk-kms = "1.37"
cynic = { version = "3.1.0", features = ["http-reqwest"] }
clap = "4.4"
educe = { version = "0.6", default-features = false, features = [
"Eq",
"PartialEq",
"Hash",
"Debug",
] }
derive_more = { version = "0.99" }
enum_dispatch = "0.3.13"
enum-iterator = "1.2"
hex = { version = "0.4", features = ["serde"] }
hyper = { version = "0.14.26" }
num-rational = "0.4.2"
primitive-types = { version = "0.12", default-features = false }
rand = "0.8"
parking_lot = "0.12"
tokio = { version = "1.27", default-features = false }
tokio-rayon = "2.1.0"
tokio-stream = "0.1"
tokio-util = { version = "0.7", default-features = false }
tracing = "0.1"
thiserror = "1.0"
futures = "0.3"
postcard = "1.0"
tracing-attributes = "0.1"
tracing-subscriber = "0.3"
serde = "1.0"
serde-big-array = { version = "0.5", default-features = false }
serde_json = { version = "1.0", default-features = false, features = ["alloc"] }
serde_with = { version = "3.4", default-features = false }
strum = { version = "0.25" }
strum_macros = "0.25"
# enable cookie store to support L7 sticky sessions
reqwest = { version = "0.12.0", default-features = false, features = [
"rustls-tls",
"cookies",
] }
mockall = "0.11"
num_enum = "0.7"
test-case = "3.3"
impl-tools = "0.10"
test-strategy = "0.3"
parquet = { version = "49.0", default-features = false }
rayon = "1.10.0"
bytes = "1.5.0"
paste = "1.0"
pretty_assertions = "1.4.0"
proptest = "1.1"
pin-project-lite = "0.2"
axum = "0.5"
once_cell = "1.16"
prometheus-client = "0.22.0"
indicatif = { version = "0.17", default-features = false }
itertools = { version = "0.12", default-features = false }
insta = "1.8"
tempfile = "3.4"
tikv-jemallocator = "0.5"
url = "2.2"