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

feat(websocket): add WebSocket for WASM environments #4102

Merged
merged 80 commits into from
Oct 10, 2023
Merged

feat(websocket): add WebSocket for WASM environments #4102

merged 80 commits into from
Oct 10, 2023

Conversation

thomaseizinger
Copy link
Contributor

@thomaseizinger thomaseizinger commented Jun 22, 2023

Description

Resolves #3611.

Notes & open questions

This is the continuation of #3679.

Open tasks

Change checklist

  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • A changelog entry has been made in the appropriate crates

@thomaseizinger
Copy link
Contributor Author

@mxinden With all the WASM and Waker knowledge fresh in my head, I attempted to fix up this PR and I've got passing interop tests locally! It is not critical to merge but if we can get it in before the next breaking release, then we can remove the wasm-ext module! (No more JS in the repo, yeah!)

@mergify

This comment was marked as resolved.

@mergify

This comment was marked as resolved.

Copy link
Member

@mxinden mxinden left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is very clean. Thank you.

interop-tests/Cargo.toml Show resolved Hide resolved
libp2p/CHANGELOG.md Outdated Show resolved Hide resolved
transports/websocket-websys/src/lib.rs Show resolved Hide resolved
transports/websocket-websys/src/lib.rs Show resolved Hide resolved
transports/websocket-websys/src/lib.rs Outdated Show resolved Hide resolved
Co-authored-by: Max Inden <mail@max-inden.de>
@mergify

This comment was marked as resolved.

Copy link
Member

@mxinden mxinden left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fine moving forward as is.

transports/websocket-websys/src/lib.rs Outdated Show resolved Hide resolved
transports/websocket-websys/src/lib.rs Show resolved Hide resolved
@mergify mergify bot merged commit 19c5cf2 into master Oct 10, 2023
73 checks passed
@mergify mergify bot deleted the websys branch October 10, 2023 01:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

wasm-ext: Replace libp2p-wasm-ext with libp2p-websocket-websys
3 participants