-
Notifications
You must be signed in to change notification settings - Fork 122
/
Copy pathCargo.toml
149 lines (142 loc) · 7.69 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
[workspace]
resolver = "2"
# NOTES:
# This workspace is intended to be used for the primary scrypto/radix engine library crates,
# and the cli applications.
#
# In particular:
#
# * We don't include any Scrypto packages here - they should be loaded/built separately, as they need separate profiles.
# They either include their own shared workspace for a set of tests, or a [workspace] in each of their Cargo.tomls
# to avoid falling back to the root workspace.
members = [
"radix-blueprint-schema-init",
"radix-common-derive",
"radix-common",
"radix-clis",
"radix-engine-toolkit-common",
"radix-engine-interface",
"radix-engine-monkey-tests",
"radix-engine-profiling-derive",
"radix-engine-profiling",
"radix-engine-tests",
"radix-engine",
"radix-native-sdk",
"radix-rust",
"radix-sbor-derive",
"radix-substate-store-impls",
"radix-substate-store-interface",
"radix-substate-store-queries",
"radix-transaction-scenarios",
"radix-transactions",
"sbor-derive-common",
"sbor-derive",
"sbor-tests",
"sbor",
"scrypto-bindgen",
"scrypto-compiler",
"scrypto-derive-tests",
"scrypto-derive",
"scrypto-test",
"scrypto",
]
[workspace.dependencies]
radix-blueprint-schema-init = { version = "1.4.0-dev", path = "./radix-blueprint-schema-init", default-features = false }
radix-common = { version = "1.4.0-dev", path = "./radix-common", default-features = false }
radix-common-derive = { version = "1.4.0-dev", path = "./radix-common-derive", default-features = false }
radix-engine = { version = "1.4.0-dev", path = "./radix-engine", default-features = false }
radix-engine-toolkit-common = { version = "1.4.0-dev", path = "./radix-engine-toolkit-common", default-features = false }
radix-engine-interface = { version = "1.4.0-dev", path = "./radix-engine-interface", default-features = false }
radix-engine-profiling = { version = "1.4.0-dev", path = "./radix-engine-profiling", default-features = false }
radix-engine-profiling-derive = { version = "1.4.0-dev", path = "./radix-engine-profiling-derive", default-features = false }
radix-native-sdk = { version = "1.4.0-dev", path = "./radix-native-sdk", default-features = false }
radix-rust = { version = "1.4.0-dev", path = "./radix-rust", default-features = false }
radix-sbor-derive = { version = "1.4.0-dev", path = "./radix-sbor-derive", default-features = false }
radix-substate-store-impls = { version = "1.4.0-dev", path = "./radix-substate-store-impls", default-features = false }
radix-substate-store-interface = { version = "1.4.0-dev", path = "./radix-substate-store-interface", default-features = false }
radix-substate-store-queries = { version = "1.4.0-dev", path = "./radix-substate-store-queries", default-features = false }
radix-transaction-scenarios = { version = "1.4.0-dev", path = "./radix-transaction-scenarios", default-features = false }
radix-transactions = { version = "1.4.0-dev", path = "./radix-transactions", default-features = false }
sbor = { version = "1.4.0-dev", path = "./sbor", default-features = false }
sbor-derive = { version = "1.4.0-dev", path = "./sbor-derive", default-features = false }
sbor-derive-common = { version = "1.4.0-dev", path = "./sbor-derive-common", default-features = false }
scrypto = { version = "1.4.0-dev", path = "./scrypto", default-features = false }
scrypto-bindgen = { version = "1.4.0-dev", path = "./scrypto-bindgen", default-features = false }
scrypto-compiler = { version = "1.4.0-dev", path = "./scrypto-compiler", default-features = false }
scrypto-derive = { version = "1.4.0-dev", path = "./scrypto-derive", default-features = false }
scrypto-test = { version = "1.4.0-dev", path = "./scrypto-test", default-features = false }
arbitrary = { version = "1.3.0", features = ["derive"] }
bech32 = { version = "0.9.0", default-features = false }
bencher = { version = "0.1.5" }
bincode = { version = "2.0.0-rc.1", default-features = false, features = ["derive"] }
bitflags = { version = "1.3" }
blake2 = { version = "0.10.6", default-features = false }
blst = { version = "0.3.11", default-features = false, features = ["portable"], optional = false }
bnum = { version = "0.11.0", default-features = false, features = ["numtraits"] }
cargo_toml = { version = "0.15.3" }
clap = { version = "3.1.17", features = ["derive", "cargo"] } # Used in radix-clis for parsing
colored = { version = "2.0.0", default-features = false } # Used for transaction receipts + radix-clis
const-sha1 = { version = "0.3.0", default-features = false }
criterion = { version = "0.3", features = ["html_reports"] }
crossbeam = { version = "0.8.2" }
dirs = { version = "4.0.0" } # Used in radix-clis
ed25519-dalek = { version = "2.1.1", default-features = false, features = ["fast", "zeroize"] }
ethnum = {version = "1.3.2", default-features = false }
extend = { version = "1.2.0" }
fixedstr = { version = "0.2.9" }
flate2 = { version = "1.0.27" } # Used in radix-clis for GzDecoder
flume = { version = "0.11.0" } # Used in radix-clis for multi-threaded channels
fslock = { version = "0.2.1" }
hashbrown = { version = "0.15.1" }
hex = { version = "0.4.3", default-features = false }
indexmap = { version = "2.7.0", default-features = false }
inferno = { version = "0.11.19" }
itertools = { version = "0.10.3" }
lazy_static = { version = "1.4.0" }
linreg = { version = "0.2.0" }
lru = { version = "0.8.1", default-features = false }
minicov = { version = "=0.3.5" } # Used for scrypto coverage. Has to be fixed for compatibility with the rust version we use.
moka = { version = "0.9.9", features = ["sync"], default-features = false }
num-bigint = { version = "0.4.3", default-features = false }
num-integer = { version = "0.1.45", default-features = false }
num-traits = { version = "0.2.15", default-features = false }
ouroboros = { version = "0.17.2" }
paste = { version = "1.0.13" }
perfcnt = { version = "0.8.0" }
plotters = { version = "0.3.4" }
proc-macro2 = { version = "1.0.38" }
quote = { version = "1.0.18" }
radix-wasm-instrument = { version = "1.0.0", default-features = false, features = ["ignore_custom_section"]}
rand = { version = "0.8.5" }
rand_chacha = { version = "0.3.1" }
rayon = { version = "1.5.3" }
regex = { version = "1.9.3", default-features = false, features = [] }
rocksdb = { version = "0.21.0" }
rug = { version = "1.18" }
secp256k1 = { version = "0.28.0", default-features = false, features = ["recovery"] }
serde = { version = "1.0.144", default-features = false, features = ["derive"] }
serde_json = { version = "1.0.105" }
serde_with = { version = "3.9.0", default-features = false, features = ["macros", "hex"] }
sha3 = { version = "0.10.8", default-features = false, optional = false }
shared_memory = { version = "0.12.4" }
strum = { version = "0.24", default-features = false, features = ["derive"] }
syn = { version = "1.0.93", features = ["full", "extra-traits"] }
tar = { version = "0.4.40" } # Used in radix-clis
temp-env = { version = "0.2.0" } # Used in radix-clis
tempfile = { version = "3.8.0" }
trybuild = { version = "1.0.85" }
wabt = { version = "0.10.0" }
walkdir = { version = "2.3.3", default-features = false }
wasmi = { version = "=0.39.1" } # Used for WASM Execution in the Engine. Requires explicit upgrades for testing non-determinism.
wasm-opt = { version = "0.114.1" }
wasmparser = { version = "0.107.0", default-features = false }
zeroize = { version = "1.3.0" }
# Both the release and test profiles use `panic = "unwind"` to allow certain parts of the Radix
# Engine to be able to catch panics. As an example, the native-vm has a `catch_unwind` to catch
# all panics that may occur in the native blueprints and convert them to `Result`s instead of
# crashing the engine.
[profile.release]
panic = "unwind"
# Optimize for speed for test profile to speed up the tests
[profile.test]
opt-level = 1