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

Deprecate stdweb and migrate to web-sys #653

Open
4 tasks
ryanisaacg opened this issue Sep 8, 2020 · 4 comments
Open
4 tasks

Deprecate stdweb and migrate to web-sys #653

ryanisaacg opened this issue Sep 8, 2020 · 4 comments
Labels
enhance-infrastructure CI, project or documentation hosting, etc.
Milestone

Comments

@ryanisaacg
Copy link
Owner

ryanisaacg commented Sep 8, 2020

Rationale:
Unfortunately, stdweb has been going unmaintained (as has its sister project, cargo-web.) web-sys and wasm-bindgen have more than reached parity with stdweb, and progress on tooling to match cargo-web is going well. Contributions to upstream projects like winit are increasingly web-sys only, so the pressure is there to remove stdweb support.

To make web-sys the default or remove stdweb entirely, we need to:

Please feel free to reply with any issues you encounter with moving to web-sys for Quicksilver projects.

@ryanisaacg ryanisaacg pinned this issue Sep 8, 2020
@ryanisaacg ryanisaacg added the enhance-infrastructure CI, project or documentation hosting, etc. label Sep 8, 2020
@johnpmayer
Copy link
Contributor

johnpmayer commented Sep 8, 2020

👍 I've stopped maintaining stdweb in https://github.com/johnpmayer/quicksilver-utils

I have a not-too-large, but complete and documented example that should run with web-sys.

https://github.com/johnpmayer/quicksilver-utils/tree/master/examples/project

@ryanisaacg ryanisaacg added this to the v0.4 Alpha milestone Sep 9, 2020
@coolreader18
Copy link

FWIW, I was able to get quicksilver 0.3 compiling with wasm-bindgen/wasm-pack, I just needed to add a patch section to Cargo.toml for stdweb to this branch.

@coolreader18
Copy link

[patch.crates-io]
stdweb = { git = "https://github.com/coolreader18/stdweb", rev = "ccc453c653bbcc4a20e7a1dd3ce884b626d5e7e7" }

@coolreader18
Copy link

coolreader18 commented Oct 27, 2020

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhance-infrastructure CI, project or documentation hosting, etc.
Projects
None yet
Development

No branches or pull requests

3 participants