forked from astraly-labs/starkbiter
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
147 lines (117 loc) · 3.84 KB
/
Cargo.toml
File metadata and controls
147 lines (117 loc) · 3.84 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
[workspace]
# List of crates included in this workspace
members = ["core", "bindings", "macros", "engine", "python-bindings"]
# List of crates excluded from this workspace
exclude = ["benches", "docs"]
# Package configuration
[package]
name = "starkbiter"
version = "0.1.0"
edition = "2021"
authors = ["Baitcode <batiyiv@gmail.com>", "Matthias <matthias@pragma.build>"]
description = "Allowing smart contract developers to do simulation driven development via an Starknet Devnet emulator"
license = "Apache-2.0"
keywords = [
"starknet",
"cairo",
"emulator",
"simulator",
"simulation",
"agents",
"bindings",
"testing",
"smart-contracts",
]
# Binary configuration
[[bin]]
name = "starkbiter"
path = "bin/main.rs"
[[example]]
name = "minter"
path = "examples/minter/main.rs"
[workspace.dependencies]
# Arbiter local for development
starkbiter-bindings = { path = "bindings" }
starkbiter-core = { path = "core" }
starkbiter-engine = { path = "engine" }
starkbiter-macros = { path = "macros" }
uuid = { version = "=1.17.0", features = ["v4"] }
starknet-devnet-core = { git = "https://github.com/baitcode/starknet-devnet.git", branch = "experiment" }
starknet-devnet-types = { git = "https://github.com/baitcode/starknet-devnet.git", branch = "experiment" }
starknet_api = "=0.14.0-rc.3"
cainome = { git = "https://github.com/baitcode/cainome.git", branch = "bugfix-event-conflicts", features = [
"abigen-rs",
] }
starknet = "=0.15.1"
starknet-core = "=0.14.0"
starknet-accounts = "=0.14.0"
starknet-signers = "=0.12.0"
# Arbiter crates.io for release, these need to be used to do crate releases!
# arbiter-bindings = "0.1.7"
# arbiter-core = "0.11.0"
# arbiter-engine = "0.4.0"
# arbiter-macros = "0.1.4"
serde = { version = "1.0.140", features = ["derive"] }
serde_json = { version = "1.0.140" }
toml = "0.8.12"
ethers = "=2.0.11"
ethers-providers = "=2.0.11"
tokio = { version = "1.36.0", features = ["macros", "full"] }
futures = "0.3.30"
futures-util = { version = "0.3.30" }
async-stream = "0.3.5"
async-trait = { version = "0.1.80" }
crossbeam-channel = { version = "0.5.12" }
syn = { version = "2.0.60", features = ["full"] }
proc-macro2 = { version = "1.0.79" }
tracing = "0.1.40"
thiserror = { version = "1.0.59" }
anyhow = "1.0.83"
url = "2.5.4"
# Dependencies for the release build of Arbiter bin
[dependencies]
starkbiter-core.workspace = true
starknet-accounts.workspace = true
starknet-signers.workspace = true
starknet-devnet-core.workspace = true
starknet-devnet-types.workspace = true
cainome.workspace = true
futures.workspace = true
# Command line and config
clap = { version = "4.5.2", features = ["derive"] }
serde.workspace = true
serde_json.workspace = true
config = { version = "=0.14.0" }
toml.workspace = true
Inflector = { version = "=0.11.4" }
# Building files
# foundry-config = { version = "=0.2.0" }
# tempfile = { version = "3.10.1" }
# Errors
thiserror.workspace = true
# Dependencies for the test build and development
[dev-dependencies]
starkbiter-bindings.workspace = true
starkbiter-engine.workspace = true
starkbiter-macros.workspace = true
starknet-core.workspace = true
serde.workspace = true
async-trait.workspace = true
anyhow.workspace = true
starknet.workspace = true
url.workspace = true
rayon = { version = "1.10.0" }
# Necessary for examples
tokio.workspace = true
tracing.workspace = true
tracing-subscriber = "0.3.18"
assert_cmd = { version = "=2.0.14" }
# Release profile
[profile.release]
# Link-Time Optimization can improve runtime at cost of build time
lto = true
# The Rust compiler splits your crate into multiple codegen units to parallelize (and thus speed up) compilation but at the cost of optimization.
# This setting tells the compiler to use only one codegen unit, which will slow down compilation but improve optimization.
codegen-units = 1
[workspace.metadata.cargo-machete]
ignored = ["proc-macro2"]