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

Fix some deprecation warnings #15

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

RandomInsano
Copy link
Contributor

A few APIs have changed in web-sys. This resolves some deprecation warnings.

@wishawa
Copy link
Owner

wishawa commented Jan 4, 2025

Can you bump the web-sys version in Cargo.toml to correspond to the new APIs too?

@RandomInsano
Copy link
Contributor Author

Heya! I'm taking a look at this today... It looks like a lot more care (beyond my knowledge is needed here).

I didn't change any of actual dependencies and just fixed what errored out of the box (I think the version pinning didn't quite work). Running on rustc 1.84.0. I'll pin wasm-bindgen to 0.2.100 so more things don't drift out, but there's a lot more warnings to be fixed in the CSS macro I'm not skilled enough yet to handle.


warning: `web-simple-examples` (lib) generated 18 warnings
warning: `big-list` (lib) generated 3 warnings
warning: `x-bow-playground` (lib) generated 3 warnings
warning: `web-todomvc` (lib) generated 4 warnings
warning: `guide-project` (lib) generated 26 warnings
warning: `async_ui_web_draggable` (lib) generated 3 warnings

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.

2 participants