Skip to content

Commit 3f3df3e

Browse files
authored
Fix getrandom wildcard dep (#1894)
* fix getrandom dep * changelog
1 parent 3acb1cc commit 3f3df3e

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
#### [2.0.0-rc2] - 2024-12-12
66

7+
* fix: Change wildcard getrandom dependency.
8+
79
* Update starknet-crypto to 0.7.3, removing the old FieldElement completly in favour of the new Felt (that is Copy).
810

911
* chore: update the cairo-vm version used in the readme

vm/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ num-prime = { version = "0.4.3", features = ["big-int"] }
9191
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
9292
wasm-bindgen-test = "0.3.34"
9393
# The js feature needs to be enabled
94-
getrandom = { version = "*", features = ["js"]}
94+
getrandom = { version = "0.2", features = ["js"]}
9595

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

0 commit comments

Comments
 (0)