Skip to content

reqwest-retry: Remove unused dependency on getrandom#286

Open
dbanty wants to merge 1 commit into
TrueLayer:mainfrom
dbanty:remove-reqwest-retry-getrandom
Open

reqwest-retry: Remove unused dependency on getrandom#286
dbanty wants to merge 1 commit into
TrueLayer:mainfrom
dbanty:remove-reqwest-retry-getrandom

Conversation

@dbanty
Copy link
Copy Markdown

@dbanty dbanty commented May 24, 2026

reqwest-retry doesn't depend directly on getrandom, I believe the only reason this was set was to configure the js feature for wasm targets when getrandom@0.2 was an indirect dependency. However, getrandom@0.2 stopped being an indirect dependency with #257 since retry-policies@0.5 indirectly depends on getrandom@0.4. That latest getrandom no longer has/requires a js feature.

I couldn't get the tests to run with a wasm target, I verified this only with a combination of cargo tree (to verify we don't depend on this anymore) and reading the getrandom changelog

@dbanty dbanty requested a review from a team as a code owner May 24, 2026 17:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant