-
Notifications
You must be signed in to change notification settings - Fork 77
Expand file tree
/
Copy pathCargo.toml
More file actions
148 lines (121 loc) · 4.13 KB
/
Cargo.toml
File metadata and controls
148 lines (121 loc) · 4.13 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
[workspace]
resolver = "2"
members = [
"crates/starknet-devnet-types",
"crates/starknet-devnet-core",
"crates/starknet-devnet-server",
"crates/starknet-devnet",
"tests/integration",
]
[profile.release]
panic = "unwind"
[workspace.package]
authors = ["starknet-io"]
edition = "2021"
repository = "https://github.com/starknet-io/starknet-devnet"
license-file = "LICENSE"
homepage = "https://starknet-io.github.io/starknet-devnet"
description = "A local testnet for Starknet"
readme = "README.md"
documentation = "https://starknet-io.github.io/starknet-devnet/docs/intro"
exclude = [".github/**", ".devcontainer/**", ".circleci/**"]
keywords = ["starknet", "cairo", "testnet", "local", "server"]
[workspace.lints.clippy]
unwrap-used = "deny"
expect-used = "deny"
[workspace.lints.rust]
dead-code = "warn"
[workspace.dependencies]
# axum
axum = { version = "0.8", features = ["ws"] }
http-body-util = { version = "0.1" }
tower-http = { version = "0.6", features = ["full"] }
# async
tokio = { version = "1.48.0", features = [
"time",
"macros",
"rt-multi-thread",
"signal",
"sync",
] }
futures = "0.3"
async-trait = "0.1"
# tracing
tracing = "0.1"
tracing-subscriber = { version = "0.3.20", features = ["env-filter", "fmt"] }
# misc
base64 = { version = "0.22" }
clap = { version = "4.5", features = ["derive", "env"] }
flate2 = { version = "^1.1.5" }
nonzero_ext = "0.3.0"
serde = { version = "1.0.228", features = ["derive"] }
serde_json = { version = "1.0.145" }
serde_yaml = { version = "0.9.27" }
thiserror = { version = "2.0.17" }
anyhow = "1"
indexmap = "2.12.0"
rand = "0.9.2"
rand_chacha = "0.9.0"
rand_mt = "5.0.0"
rand_regex = "0.18.1"
reqwest = { version = "0.13.2", features = ["json"] }
url = "2.5"
usc = { version = "2.8.0", package = "universal-sierra-compiler" }
num-bigint = { version = "0.4" }
bigdecimal = { version = "0.4.9" }
enum-helper-macros = "0.0.1"
lru = "0.16.2"
once_cell = "1.21.3"
ahash = "0.8"
# Starknet dependencies
starknet-types-core = "=0.2.4"
starknet_api = { version = "0.18.0-rc.1", features = ["testing"] }
blockifier = { version = "0.18.0-rc.1" }
apollo_compilation_utils = { version = "0.18.0-rc.1"}
starknet-rs-signers = { version = "0.19.0", package = "starknet-rust-signers" }
starknet-rs-core = { version = "0.19.0", package = "starknet-rust-core" }
starknet-rs-providers = { version = "0.19.0", package = "starknet-rust-providers" }
starknet-rs-accounts = { version = "0.19.0", package = "starknet-rust-accounts" }
starknet-rs-contract = { version = "0.19.0", package = "starknet-rust-contract" }
cairo-vm = "=3.2.0"
# Cairo-lang dependencies
cairo-lang-starknet-classes = "=2.17.0"
cairo-lang-compiler = "=2.17.0"
cairo-lang-casm = "=2.17.0"
cairo-lang-defs = "=2.17.0"
cairo-lang-diagnostics = "=2.17.0"
cairo-lang-filesystem = "=2.17.0"
cairo-lang-lowering = "=2.17.0"
cairo-lang-semantic = "=2.17.0"
cairo-lang-sierra = "=2.17.0"
cairo-lang-sierra-generator = "=2.17.0"
cairo-lang-sierra-to-casm = "=2.17.0"
cairo-lang-syntax = "=2.17.0"
cairo-lang-utils = "=2.17.0"
# Inner dependencies
starknet-types = { version = "0.8.1", path = "crates/starknet-devnet-types", package = "starknet-devnet-types" }
starknet-core = { version = "0.8.1", path = "crates/starknet-devnet-core", package = "starknet-devnet-core" }
server = { version = "0.8.1", path = "crates/starknet-devnet-server", package = "starknet-devnet-server" }
# Dependabot alerts
zerocopy = "0.8.27"
unsafe-libyaml = "0.2.11"
h2 = "0.4"
ring = "0.17.14"
alloy = { version = "1.1.1" }
eyre = "0.6"
# Changed from 0.10 to 0.10.72 as suggested by Dependabot: https://github.com/starknet-io/starknet-devnet/security/dependabot/53
openssl = { version = "0.10.72", features = ["vendored"] }
parking_lot = "0.12.3"
# Metrics
prometheus = "0.13"
# Dev dependencies
serial_test = "3.1.1"
hex = "0.4.3"
lazy_static = { version = "1.4.0" }
tokio-tungstenite = { version = "0.28.0" }
listeners = "0.2.1"
# https://github.com/paritytech/parity-scale-codec/issues/656
parity-scale-codec = "=3.7.5"
parity-scale-codec-derive = "=3.7.5"
# https://app.circleci.com/pipelines/github/starknet-io/starknet-devnet/3033/workflows/3f93463c-7550-432b-8868-9bb0bf96dc10/jobs/5012
cargo-platform = "=0.1.8"