-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Freeze support of stdweb at v0.18 #1569
Comments
I've thought about it dozen times. It would be impossible to create |
|
Since |
Problem
Maintaining support for two browser binding libraries requires a lot of effort, duplicate code, and ugly cfg macros which make it hard for newcomers to make contributions. If forced to choose one, we should pick the library that the Rust community uses, supports, and enjoys using more. That library is clearly
web-sys
, notstdweb
.The biggest problem with supporting
stdweb
going forward is it's lack of recent development. The repository hasn't been active in about a year despite various features being missing.Despite the lack of development,
stdweb
is a really great tool and provides a higher level of abstraction, nicer APIs, and a convenientjs!
macro over theweb-sys
library. Furthermore, the sister tool,cargo-web
doesn't supportweb-sys
, onlystdweb
.Many of the above advantages have been solved in the new
web-sys
oriented ecosystem.wasm-bindgen
alleviates the need for ajs!
macro,trunk
replacescargo-web
, and libraries likegloo
provide nice APIs.Proposal
stdweb
code frommaster
stdweb
related issues.stdweb
in the documentation besides a disclaimer informing users of the feature freezev0.18
branch will be created to release patch fixes as neededThe text was updated successfully, but these errors were encountered: