Skip to content

Commit

Permalink
Revert "unpin wasm bindgen"
Browse files Browse the repository at this point in the history
This reverts commit 45b43cb.
  • Loading branch information
pefontana committed Oct 7, 2024
1 parent 4011104 commit b8afcf6
Showing 1 changed file with 7 additions and 17 deletions.
24 changes: 7 additions & 17 deletions vm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand All @@ -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
Expand All @@ -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"
Expand Down

0 comments on commit b8afcf6

Please sign in to comment.