Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lock wasm-bindgen version due to upstream compatibility issues #315

Merged
merged 2 commits into from
Nov 4, 2023

Conversation

aspect
Copy link
Collaborator

@aspect aspect commented Nov 4, 2023

Upstream wasm-bindgen developers have added TryFrom<JsValue> for all wasm-bindgen ABI-bound Rust structs (rustwasm/wasm-bindgen#3554) which came in with the 0.2.88 update and broke all our TryFrom<JsValue> conversion implementations. This PR freezes wasm-bindgen to the last viable version 0.2.87 until a solution is determined (whether upstream will consider reverting or we decide to create different traits for handling ABI object conversions). In the meantime, I have filed an issue rustwasm/wasm-bindgen#3685

Updating Cargo.lock can result in the patch version update for wasm-bindgen, resulting in broken builds. This PR prevents this from happening.

(This PR also updates few dependency versions and removes Cargo.lock that seems to have been accidentally committed in the kaspa-addresses crate folder)

@tiram88 tiram88 merged commit 8880751 into kaspanet:master Nov 4, 2023
6 checks passed
@tiram88 tiram88 deleted the lock-dependencies branch November 4, 2023 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants