Skip to content

Conversation

@peterhuene
Copy link
Contributor

This PR implements some basic test coverage for the underlying default storage implementation and via the integration with reqwest.

This commit implements some basic test coverage for the underlying
default storage implementation and via the integration with `reqwest`.
@peterhuene
Copy link
Contributor Author

Need to guard the storage tests against the smol feature.

* Use `http_body_util` where appropriate rather than manual `Stream`
  implementations.
* Remove no longer needed `HttpBody` trait.
* Address code review comments.
@peterhuene peterhuene requested a review from acfoltzer November 6, 2025 00:27
With how `CacheBody` is now implemented, it can be backed by `String`,
so `Full` isn't necessary.
Remove the use of atomics in the tests.
Copy link

@acfoltzer acfoltzer left a comment

Choose a reason for hiding this comment

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

Thanks!

@peterhuene peterhuene merged commit bb1cbc8 into stjude-rust-labs:main Nov 6, 2025
7 checks passed
@peterhuene peterhuene deleted the tests branch November 6, 2025 16:59
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