-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathCargo.toml
More file actions
170 lines (154 loc) · 6.11 KB
/
Cargo.toml
File metadata and controls
170 lines (154 loc) · 6.11 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
[workspace.package]
version = "0.19.0-rc.2"
edition = "2024"
authors = ["Software Mansion <contact@swmansion.com>", "Jonathan LEI <me@xjonathan.dev>"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/software-mansion/starknet-rust"
readme = "README.md"
keywords = ["ethereum", "starknet", "web3"]
[package]
name = "starknet-rust"
version.workspace = true
authors.workspace = true
license.workspace = true
edition.workspace = true
readme.workspace = true
documentation = "https://docs.rs/starknet"
repository.workspace = true
description = """
Complete Starknet library in Rust™
"""
keywords.workspace = true
exclude = [".github/**", "images/**"]
[workspace]
members = [
"starknet-rust-core",
"starknet-rust-core-derive",
"starknet-rust-providers",
"starknet-rust-contract",
"starknet-rust-crypto",
"starknet-rust-signers",
"starknet-rust-accounts",
"starknet-rust-macros",
"starknet-rust-curve",
"starknet-rust-tokio-tungstenite",
"examples/starknet-rust-wasm",
"examples/starknet-rust-cxx/starknet-rust-cxx",
"utils/test-common",
]
[workspace.dependencies]
starknet-rust-core = { version = "0.19.0-rc.2", path = "./starknet-rust-core", default-features = false }
starknet-rust-core-derive = { version = "0.19.0-rc.2", path = "./starknet-rust-core-derive" }
starknet-rust-providers = { version = "0.19.0-rc.2", path = "./starknet-rust-providers", default-features = false }
starknet-rust-contract = { version = "0.19.0-rc.2", path = "./starknet-rust-contract", default-features = false }
starknet-rust-crypto = { version = "0.19.0-rc.2", path = "./starknet-rust-crypto", default-features = false }
starknet-rust-signers = { version = "0.19.0-rc.2", path = "./starknet-rust-signers", default-features = false }
starknet-rust-accounts = { version = "0.19.0-rc.2", path = "./starknet-rust-accounts", default-features = false }
starknet-rust-macros = { version = "0.19.0-rc.2", path = "./starknet-rust-macros" }
starknet-rust-curve = { version = "0.19.0-rc.2", path = "./starknet-rust-curve", default-features = false }
starknet-rust-tokio-tungstenite = { version = "0.19.0-rc.2", path = "./starknet-rust-tokio-tungstenite" }
test-common = { path = "./utils/test-common" }
async-trait = "0.1.89"
auto_impl = "1.3.0"
base64 = { version = "0.22.1", default-features = false }
bincode = "1.3.3" # https://github.com/software-mansion/starknet-rust/issues/78
blake2 = { version = "0.10.6", default-features = false }
coins-bip32 = "0.13.0"
coins-ledger = { version = "0.13.0", default-features = false }
console_error_panic_hook = "0.1.7"
criterion = { version = "0.8.1", default-features = false }
crypto-bigint = { version = "0.6.1", default-features = false }
cxx = "1.0"
cxx-build = "1.0"
digest = { version = "0.10.7", default-features = false }
eth-keystore = { version = "0.5.0", default-features = false }
ethereum-types = "0.16.0"
flate2 = "1.1.5"
foldhash = { version = "0.2.0", default-features = false }
futures-util = "0.3.31"
getrandom = "0.2.16"
hex = { version = "0.4.3", default-features = false }
hex-literal = "1.1.0"
hmac = { version = "0.12.1", default-features = false }
indexmap = { version = "2.13.0", default-features = false }
log = "0.4.29"
num-bigint = { version = "0.4.6", default-features = false }
num-integer = { version = "0.1.46", default-features = false }
num-traits = { version = "0.2.19", default-features = false }
proc-macro2 = "1.0.105"
quote = "1.0.43"
rand = { version = "0.8.5", default-features = false }
reqwest = { version = "0.13.1", default-features = false }
rfc6979 = { version = "0.4.0", default-features = false }
semver = { version = "1.0.27", default-features = false }
serde = { version = "1.0.228", default-features = false }
serde_json = { version = "1.0.149", default-features = false }
serde_json_pythonic = { version = "0.1.2", default-features = false }
serde_with = { version = "3.16.1", default-features = false }
sha2 = { version = "0.10.9", default-features = false }
sha3 = { version = "0.10.8", default-features = false }
speculos-client = "0.1.2"
starknet-types-core = { version = "=0.2.4", default-features = false }
syn = "2.0.114"
test-case = "3.3.1"
thiserror = "2.0.17"
tokio = { version = "1.49.0", default-features = false }
tokio-tungstenite = "0.28.0"
tokio-util = "0.7.18"
tungstenite = "0.28.0"
url = "2.5.8"
wasm-bindgen = "0.2.106"
wasm-bindgen-test = "0.3.56"
worker = "0.7.2"
zeroize = "1.8.2"
[package.metadata.docs.rs]
all-features = true
[dependencies]
starknet-rust-core.workspace = true
starknet-rust-providers.workspace = true
starknet-rust-contract.workspace = true
starknet-rust-signers.workspace = true
starknet-rust-accounts.workspace = true
starknet-rust-macros.workspace = true
[dev-dependencies]
serde_json.workspace = true
starknet-rust-signers = { workspace = true, features = ["ledger"] }
starknet-rust-tokio-tungstenite.workspace = true
tokio = { workspace = true, features = ["full"] }
url.workspace = true
[features]
default = []
ledger = ["starknet-rust-signers/ledger"]
no_unknown_fields = [
"starknet-rust-core/no_unknown_fields",
"starknet-rust-providers/no_unknown_fields",
]
# Cloudflare Workers provider support
worker = ["starknet-rust-providers/worker"]
[workspace.lints]
rustdoc.all = "warn"
[workspace.lints.rust]
missing_debug_implementations = "warn"
missing_docs = "allow" # Docs related, too much work to maintain right now
unreachable_pub = "warn"
unused_must_use = "deny"
[workspace.lints.clippy]
pedantic = { level = "warn", priority = -1 }
nursery = { level = "warn", priority = -1 }
# Allow specific pedantic/nursery lints that are too noisy
must_use_candidate = "allow"
mismatching_type_param_order = "allow"
type_repetition_in_bounds = "allow"
# Lints that we don't want to handle (worth revisiting in the future)
redundant_pub_crate = "allow"
too_many_lines = "allow"
unsafe_derive_deserialize = "allow"
future_not_send = "allow"
# Docs related, too much work to maintain right now
missing_errors_doc = "allow"
missing_panics_doc = "allow"
too_long_first_doc_paragraph = "allow"
# Casting lints would be nice to have, but too much work to fix right now
cast_possible_truncation = "allow"
cast_sign_loss = "allow"
cast_precision_loss = "allow"