Skip to content

Commit 6d05721

Browse files
committed
Pin types-rs version
1 parent eb25534 commit 6d05721

File tree

1 file changed

+17
-5
lines changed

1 file changed

+17
-5
lines changed

vm/Cargo.toml

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,20 @@ cairo-0-secp-hints = []
3232
cairo-0-data-availability-hints = []
3333

3434
# Note that these features are not retro-compatible with the cairo Python VM.
35-
test_utils = ["std", "dep:arbitrary", "starknet-types-core/arbitrary", "starknet-types-core/std"] # This feature will reference every test-oriented feature
35+
test_utils = [
36+
"std",
37+
"dep:arbitrary",
38+
"starknet-types-core/arbitrary",
39+
"starknet-types-core/std",
40+
] # This feature will reference every test-oriented feature
3641
# Allows extending the set of hints for the current vm run from within a hint.
3742
# For a usage example checkout vm/src/tests/run_deprecated_contract_class_simplified.rs
3843
extensive_hints = []
3944

4045
[dependencies]
41-
zip = { version = "0.6.6", optional = true, default-features = false, features = ["deflate"] }
46+
zip = { version = "0.6.6", optional = true, default-features = false, features = [
47+
"deflate",
48+
] }
4249
num-bigint = { workspace = true }
4350
rand = { workspace = true }
4451
num-traits = { workspace = true }
@@ -57,7 +64,12 @@ keccak = { workspace = true }
5764
hashbrown = { workspace = true }
5865
anyhow = { workspace = true }
5966
thiserror = { workspace = true }
60-
starknet-types-core = { version = "0.1.2", default-features = false, features = ["serde", "curve", "num-traits", "hash"] }
67+
starknet-types-core = { version = "=0.1.8", default-features = false, features = [
68+
"serde",
69+
"curve",
70+
"num-traits",
71+
"hash",
72+
] }
6173
rust_decimal = { version = "1.35.0", default-features = false }
6274

6375
# only for std
@@ -76,7 +88,7 @@ ark-std = { workspace = true, optional = true }
7688
arbitrary = { workspace = true, features = ["derive"], optional = true }
7789

7890
# Used to derive clap traits for CLIs
79-
clap = { version = "4.3.10", features = ["derive"], optional = true}
91+
clap = { version = "4.3.10", features = ["derive"], optional = true }
8092

8193
[dev-dependencies]
8294
assert_matches = "1.5.0"
@@ -86,7 +98,7 @@ num-prime = { version = "0.4.3", features = ["big-int"] }
8698
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
8799
wasm-bindgen-test = "0.3.50"
88100
# The js feature needs to be enabled
89-
getrandom = { version = "0.2", features = ["js"]}
101+
getrandom = { version = "0.2", features = ["js"] }
90102

91103
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
92104
iai-callgrind = "0.3.1"

0 commit comments

Comments
 (0)