Skip to content

Improve async executor support - #158

Merged
alexliesenfeld merged 9 commits into
masterfrom
fix/async-executor-support
Sep 19, 2025
Merged

alexliesenfeld merged 9 commits into
masterfrom
fix/async-executor-support

Conversation

@alexliesenfeld

@alexliesenfeld alexliesenfeld commented Aug 28, 2025 •

Copy link
Copy Markdown
Member

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 deny fixes so this is green now as well.

Note: At the moment, some tests in file runtimes_test.rs fail when the proxy feature is enabled due to TLS issues, but this is not related to async executors. It will be fixed in a separate PR.

@alexliesenfeld alexliesenfeld mentioned this pull request Aug 28, 2025
@alexliesenfeld alexliesenfeld changed the title Fix/async executor support Improve async executor support Aug 28, 2025
@alexliesenfeld
alexliesenfeld force-pushed the fix/async-executor-support branch from 33d3cdb to 53dbed2 Compare August 29, 2025 06:24

@FalkWoldmann FalkWoldmann left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Lgtm, quite unfortunate that there not really a runtime agnostic client yet, but it will surely happen some time :)

@alexliesenfeld
alexliesenfeld merged commit 41c25e3 into master Sep 19, 2025
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