Skip to content

[pull] main from tower-rs:main#10

Merged
barjin merged 8 commits intoapify:mainfrom
tower-rs:main
May 7, 2026
Merged

[pull] main from tower-rs:main#10
barjin merged 8 commits intoapify:mainfrom
tower-rs:main

Conversation

@pull
Copy link
Copy Markdown

@pull pull Bot commented May 6, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

alexanderkjall and others added 5 commits May 6, 2026 11:07
* fix gate-ing of atomic64 in tests

* switch AtomicU64 -> AtomicUsize and remove the cfg target_has_atomic stuff
* follow_redirect: expose previous and next request methods

This augments follow-redirect `Attempt` in order to expose two relevant HTTP methods
during redirects:
 - the method for the original/previous request
 - the method to be performed on the next request upon following a redirection

This allows consumers to write policies based on both previous and next
requests methods.

* review-fix: tweak names, tests and docs

* review-fix: minor tweaks and more tests
* test(compression): verify codec via decode round-trip

* ci: add daily stress-test workflow
@pull pull Bot locked and limited conversation to collaborators May 6, 2026
@pull pull Bot added the ⤵️ pull label May 6, 2026
@pull pull Bot assigned barjin May 6, 2026
@pull pull Bot requested a review from barjin May 6, 2026 22:33
soerenmeier and others added 3 commits May 6, 2026 15:51
…red (#587)

Fixes a bug in `ServeDir` where non-GET/HEAD requests were incorrectly
processed when `call_fallback_on_method_not_allowed` is enabled but no
fallback service is provided.
* Do compress grpc-web responses

* fix: use Infallible instead of unresolved Error type in test

---------

Co-authored-by: Jess Izen <44884346+jlizen@users.noreply.github.com>
* add From<i32> impl for GrpcCode

Fixes: #505

* feat: add From<NonZeroI32> impl, doc comment, and tests

---------

Co-authored-by: Jess Izen <44884346+jlizen@users.noreply.github.com>
@barjin barjin merged commit d124b41 into apify:main May 7, 2026
13 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants