From b8afcf6ca3430c227579e3d62ef1528f1b8f2e5f Mon Sep 17 00:00:00 2001 From: pefontana Date: Mon, 7 Oct 2024 15:25:11 -0300 Subject: [PATCH] Revert "unpin wasm bindgen" This reverts commit 45b43cb0bb272bef18e33b1036bb37b9f0bec44e. --- vm/Cargo.toml | 24 +++++++----------------- 1 file changed, 7 insertions(+), 17 deletions(-) diff --git a/vm/Cargo.toml b/vm/Cargo.toml index 0dff99df87..07bcde08cd 100644 --- a/vm/Cargo.toml +++ b/vm/Cargo.toml @@ -31,20 +31,13 @@ tracer = [] mod_builtin = [] # Note that these features are not retro-compatible with the cairo Python VM. -test_utils = [ - "std", - "dep:arbitrary", - "starknet-types-core/arbitrary", - "starknet-types-core/std", -] # This feature will reference every test-oriented feature +test_utils = ["std", "dep:arbitrary", "starknet-types-core/arbitrary", "starknet-types-core/std"] # This feature will reference every test-oriented feature # Allows extending the set of hints for the current vm run from within a hint. # For a usage example checkout vm/src/tests/run_deprecated_contract_class_simplified.rs extensive_hints = [] [dependencies] -zip = { version = "0.6.6", optional = true, default-features = false, features = [ - "deflate", -] } +zip = { version = "0.6.6", optional = true, default-features = false, features = ["deflate"] } num-bigint = { workspace = true } rand = { workspace = true } num-traits = { workspace = true } @@ -63,12 +56,7 @@ keccak = { workspace = true } hashbrown = { workspace = true } anyhow = { workspace = true } thiserror-no-std = { workspace = true } -starknet-types-core = { version = "0.1.2", default-features = false, features = [ - "serde", - "curve", - "num-traits", - "hash", -] } +starknet-types-core = { version = "0.1.2", default-features = false, features = ["serde", "curve", "num-traits", "hash"] } rust_decimal = { version = "1.35.0", default-features = false } # only for std @@ -88,9 +76,11 @@ ark-std = { workspace = true, optional = true } arbitrary = { workspace = true, features = ["derive"], optional = true } # Used to derive clap traits for CLIs -clap = { version = "4.3.10", features = ["derive"], optional = true } +clap = { version = "4.3.10", features = ["derive"], optional = true} -wasm-bindgen = { version = "0.2.92" } +# Pin wasm-bindgen version to fix ensure-no_std CI workflow +# It's not used directly +wasm-bindgen = { version = "= 0.2.92" } [dev-dependencies] assert_matches = "1.5.0"