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: remove futures from ws_stream_wasm module #111

Merged
merged 1 commit into from
Jun 8, 2024

Conversation

obmarg
Copy link
Owner

@obmarg obmarg commented Jun 8, 2024

In #107 I removed futures in favour of futures-lite in various places. However, because ws_stream_wasm is not a default feature I didn't notice that I'd not removed futures from there as well.

CI also did not catch this because futures was used for the tungstenite feature, which is often always on.

This PR removes futures entirely, by implementing our own copy of StreamExt::send based on the futures impl, and then making sure there's no remaining uses of futures in the crate.

In #107 I removed futures in favour of futures-lite in various places.
However, because ws_stream_wasm is not a default feature I didn't notice that
I'd not removed futures from there as well.

CI also did not catch this because futures was used for the tungstenite
feature, which is often always on.

This PR removes futures entirely, by implementing our own copy of
StreamExt::send based on the futures impl, and then making sure there's no
remaining uses of futures in the crate.
@obmarg obmarg merged commit c76a826 into main Jun 8, 2024
2 checks passed
@obmarg obmarg deleted the obmarg/push-qzollyxwkpvw branch June 8, 2024 16:12
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.

None yet

1 participant