Skip to content

Commit 2ccb065

Browse files
committed
[starkware-development] Pin types-rs version to the one set in lockfile (#2142)
* Update changelog * Pin types-rs version
1 parent 257b8b7 commit 2ccb065

File tree

2 files changed

+21
-6
lines changed

2 files changed

+21
-6
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
## Cairo-VM Changelog
22

33
#### Upcoming Changes
4+
5+
* chore: Pin types-rs version to the one set in lockfile [#2140](https://github.com/lambdaclass/cairo-vm/pull/2140)
6+
47
* BREAKING CHANGE: `get_prover_input_info()` now requires `&mut self` and takes ownershop on the trace instead of cloning it. [#2127](https://github.com/lambdaclass/cairo-vm/pull/2127)
58

69
* Refactor: Replaced HashMap with BTreeMap to guarantee deterministic ordering of the data [#2023] (https://github.com/lambdaclass/cairo-vm/pull/2023)

vm/Cargo.toml

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,21 +33,28 @@ cairo-0-secp-hints = []
3333
cairo-0-data-availability-hints = []
3434

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

4146
[dependencies]
42-
zip = { version = "0.6.6", optional = true, default-features = false, features = ["deflate"] }
47+
zip = { version = "0.6.6", optional = true, default-features = false, features = [
48+
"deflate",
49+
] }
4350
num-bigint = { workspace = true }
4451
rand = { workspace = true }
4552
num-traits = { workspace = true }
4653
num-integer = { workspace = true }
4754
serde = { workspace = true }
4855
serde_json = { workspace = true }
4956
hex = { workspace = true }
50-
bincode = { workspace = true , features = ["alloc"]}
57+
bincode = { workspace = true, features = ["alloc"] }
5158
starknet-crypto = { workspace = true }
5259
sha3 = { workspace = true }
5360
indoc = { workspace = true }
@@ -59,7 +66,12 @@ keccak = { workspace = true }
5966
hashbrown = { workspace = true }
6067
anyhow = { workspace = true }
6168
thiserror = { workspace = true }
62-
starknet-types-core = { version = "=0.1.8", default-features = false, features = ["serde", "curve", "num-traits", "hash"] }
69+
starknet-types-core = { version = "=0.1.8", default-features = false, features = [
70+
"serde",
71+
"curve",
72+
"num-traits",
73+
"hash",
74+
] }
6375
rust_decimal = { version = "1.35.0", default-features = false }
6476

6577
# only for std
@@ -79,7 +91,7 @@ ark-std = { workspace = true, optional = true }
7991
arbitrary = { workspace = true, features = ["derive"], optional = true }
8092

8193
# Used to derive clap traits for CLIs
82-
clap = { version = "4.3.10", features = ["derive"], optional = true}
94+
clap = { version = "4.3.10", features = ["derive"], optional = true }
8395

8496
[dev-dependencies]
8597
assert_matches = "1.5.0"
@@ -89,7 +101,7 @@ num-prime = { version = "0.4.3", features = ["big-int"] }
89101
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
90102
wasm-bindgen-test = "0.3.50"
91103
# The js feature needs to be enabled
92-
getrandom = { version = "0.2", features = ["js"]}
104+
getrandom = { version = "0.2", features = ["js"] }
93105

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

0 commit comments

Comments
 (0)