-
Notifications
You must be signed in to change notification settings - Fork 36
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
wasm-bindgen: upgrade to 0.2.87 and remove serde-deserialize feature #335
wasm-bindgen: upgrade to 0.2.87 and remove serde-deserialize feature #335
Conversation
cml/wasm/Cargo.toml
Outdated
wasm-bindgen = { version = "0.2" } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about this version? Should we put it to 0.2.87
like all the others for consistency? Same for the multi-era crate. I think it was just on 0.2
due to copying an pasting dependencies at some point.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I imagine every crate will resolve to the same version anyway. But probably yeah, if we pin one it's probably best to pin all of them.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Although I'm still not really sure the pin is needed
multi-era/wasm/Cargo.toml
Outdated
@@ -26,7 +26,7 @@ hex = "0.4.0" | |||
linked-hash-map = "0.5.3" | |||
serde_json = "1.0.57" | |||
serde-wasm-bindgen = "0.4.5" | |||
wasm-bindgen = { version = "0.2", features=["serde-serialize"] } | |||
wasm-bindgen = { version = "0.2" } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this one too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Why don't you bump to the latest version (0.2.92)? |
please upgrade to |
The main reason was that |
yes, that makes sense |
Removes the deprecated serde-serialize feature (which seems unused, but I'm not a 100% sure). Also upgrades the wasm-bindgen version. I'm actually not sure if the version pinning is needed for some reason, but this is the minimum version I needed to add this as a dependency in the milkomeda bridge.