Skip to content

Upgrade all dependencies#1446

Merged
skarimo merged 4 commits intomasterfrom
upgrade-dependencies
Apr 1, 2026
Merged

Upgrade all dependencies#1446
skarimo merged 4 commits intomasterfrom
upgrade-dependencies

Conversation

@platinummonkey
Copy link
Copy Markdown
Collaborator

Summary

  • reqwest 0.11 → 0.13: added query and kept multipart features; fixed rustls-tls feature name (rustls-tls-webpki-rootsrustls, renamed in 0.13)
  • reqwest-middleware 0.2 → 0.5: added query feature (now gated behind #[cfg(feature = "query")] in 0.5.x)
  • reqwest-retry 0.3 → 0.9
  • getrandom intentionally kept at 0.2/js: upgrading to 0.4 breaks wasm32-unknown-unknown builds — our 0.2 entry exists to propagate the js feature to the rand → rand_core → getrandom 0.2 transitive chain via Cargo version unification; a 0.4 dep would be a separate crate and leave the transitive 0.2 without the feature
  • rvcr patched locally (patches/rvcr/): upstream is unmaintained against reqwest-middleware 0.4+; the Middleware trait signature changed from task_local_extensions::Extensions to http::Extensions (http 1.x). Two minimal changes: updated deps in Cargo.toml, replaced the single task_local_extensions::Extensions type annotation with http::Extensions in Middleware::handle
  • All other deps bumped to latest compatible versions (serde, chrono, uuid, url, futures, tokio, minijinja, env_logger, cucumber, convert_case, etc.)
  • LICENSE-3rdparty.csv regenerated

Test plan

  • cargo check passes (native)
  • cargo check --tests passes
  • cargo check --target wasm32-unknown-unknown --no-default-features --features wasm passes
  • cargo check --target wasm32-wasip2 --no-default-features --features rustls-tls,retry passes

🤖 Generated with Claude Code

platinummonkey and others added 4 commits April 1, 2026 11:16
- reqwest 0.11 → 0.13 (add `query` feature; `multipart` was already enabled)
- reqwest-middleware 0.2 → 0.5 (add `query` feature, gated behind cfg in 0.5)
- reqwest-retry 0.3 → 0.9
- Fix rustls-tls feature: reqwest/rustls-tls-webpki-roots → reqwest/rustls (renamed in 0.13)
- getrandom kept at 0.2/js to preserve wasm32-unknown-unknown feature unification
  via rand → rand_core → getrandom 0.2 transitive chain
- serde 1.0.197 → 1.0.228, serde_json 1.0.114 → 1.0.149, serde_with 3.6 → 3.18
- chrono 0.4.31 → 0.4.44, uuid 1.8 → 1.23, url 2.5.0 → 2.5.8
- async-stream, flate2, futures-core, lazy_static, log, zstd, rustc_version bumped
- Dev deps: env_logger 0.10 → 0.11, minijinja 1 → 2, cucumber 0.20 → 0.22,
  convert_case 0.6 → 0.11, tokio 1.10 → 1.50, futures/regex/sha256 bumped

Both wasm32-unknown-unknown and wasm32-wasip2 targets verified to compile.

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
rvcr is not maintained for newer reqwest-middleware versions. The
upstream git dep (cb6911d) uses reqwest-middleware 0.2.4 / http 0.2,
which is incompatible with the new Middleware trait in 0.5.x (now
uses http 1.x Extensions).

Add a local patch under patches/rvcr/ with two minimal changes:
- Cargo.toml: reqwest 0.11→0.13, reqwest-middleware 0.2.4→0.5.1,
  http 0.2→1, remove task-local-extensions
- src/lib.rs: task_local_extensions::Extensions → http::Extensions
  in the Middleware::handle signature (the only usage)

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
@skarimo skarimo merged commit aa3028d into master Apr 1, 2026
30 of 32 checks passed
@skarimo skarimo deleted the upgrade-dependencies branch April 1, 2026 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants