Repository navigation
Improve async executor support - #158
Merged
Merged
Conversation
Closed
alexliesenfeld
force-pushed
the
fix/async-executor-support
branch
from
August 29, 2025 06:24
33d3cdb to
53dbed2
Compare
FalkWoldmann
approved these changes
Aug 30, 2025
FalkWoldmann
left a comment
Member
There was a problem hiding this comment.
Lgtm, quite unfortunate that there not really a runtime agnostic client yet, but it will surely happen some time :)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This reorganizes test cases to improve support for major async executors.
It seems the library itself runs OK with all tested executors and just the tests used a client that was not compatible with all executors. I did not find any existing HTTP client crate that was executor agnostic, asynchronous and supported proxies. Hence, there is a new minimal HTTP get function that makes a HTTP call in its own thread to not block the async runtime the test is running in (this is probably not required here, but this way the function itself is "async").
Also contains some minor
cargo denyfixes so this is green now as well.Note: At the moment, some tests in file
runtimes_test.rsfail when theproxyfeature is enabled due to TLS issues, but this is not related to async executors. It will be fixed in a separate PR.