Skip to content

Update dependencies#54

Merged
jgraef merged 4 commits intomainfrom
update-dependencies
Dec 16, 2025
Merged

Update dependencies#54
jgraef merged 4 commits intomainfrom
update-dependencies

Conversation

@jgraef
Copy link
Owner

@jgraef jgraef commented Dec 16, 2025

Updates tungstenite and async-tungstenite.

But native tests didn't work because echo.websocket.org responded with 429 Too Many Requests. We wanted to run a local echo server for tests anyway, so I implemented it. Initially I wanted the server to be shared between tests, but for this to work you'd need to spawn it in a thread and create a tokio runtime for it. Using the tokio::test runtime doesn't seem to work because the spawned tasks for the server is terminated when a test finishes. For now every test will create a server.

For wasm the server is replaced with a dummy that will use echo.websocket.org. It seems we only get 429 when we don't use a browser. They probably limit requests from weird user agents.

If CI passes, this can be merged.

@jgraef jgraef merged commit 462bd68 into main Dec 16, 2025
3 checks passed
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.

1 participant