Skip to content

chore(deps): bump reqwest, axum, rand, strum, metrics-exporter, derive_more#74

Merged
mfw78 merged 1 commit into
developfrom
chore/deps-reqwest-misc
Jul 1, 2026
Merged

chore(deps): bump reqwest, axum, rand, strum, metrics-exporter, derive_more#74
mfw78 merged 1 commit into
developfrom
chore/deps-reqwest-misc

Conversation

@mfw78

@mfw78 mfw78 commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

Final batch of the dependency-modernisation series (after #68, #69, #70, #71, #72, #73).

What

dep bump change
reqwest 0.12 -> 0.13 rustls-tls feature renamed to rustls; no source change
axum 0.7 -> 0.8 path capture :hash -> {hash} in orderbook-mock routers
rand 0.8 -> 0.10 orderbook-mock only: thread_rng/gen/Rng -> rng/random/RngExt
strum 0.27 -> 0.28 derive-only, no source change (twap express aligned)
metrics-exporter-prometheus 0.17 -> 0.18 builder API unchanged, no source change
derive_more 1 -> 2 not consumed by any member; version-only

rand bumped cleanly (no resolver conflict or forced downgrade).

Behaviour note

reqwest 0.13 defaults to the platform trust store (rustls-platform-verifier) rather than bundled Mozilla roots. For the engine's HTTPS calls to api.cow.fi this validates identically in any normal environment; flagging for the changelog.

Testing

Verified under nix (stable-1.94-equivalent nightly): clippy --workspace --all-targets --all-features -- -D warnings clean, cargo test --workspace --all-features green (nexum-engine 105, orderbook-mock 3, sdk + doctests), and the wasm32-wasip2 module builds compile. cargo fmt clean.

Note: a cargo build --workspace --all-targets output-filename collision exists between ethflow-watcher's cdylib and rlib artefacts. It is pre-existing, unrelated to these bumps, and not run by CI (which builds per-module and runs cargo test); cargo build -p shepherd-backtest succeeds in isolation.

AI Assistance

Claude Code (Opus 4.8) used for the multi-dependency API-migration analysis and verification.

…e_more

Final dependency modernisation batch.

- reqwest 0.12 -> 0.13: the rustls-tls feature was renamed to rustls (workspace feature set updated). No source changes; the Client/builder/header/send/text surface is unchanged.
- axum 0.7 -> 0.8: path-capture syntax :hash -> {hash} in orderbook-mock's live and test routers (the known 0.8 break).
- rand 0.8 -> 0.10: orderbook-mock only; thread_rng -> rng, gen -> random, Rng -> RngExt. Resolved cleanly with no forced downgrade elsewhere.
- strum 0.27 -> 0.28, metrics-exporter-prometheus 0.17 -> 0.18: no source changes (derive-only / builder API unchanged). twap-monitor's express strum aligned to 0.28.
- derive_more 1 -> 2: no member consumes it; version-only.

Behaviour note: reqwest 0.13 defaults to the platform trust store (rustls-platform-verifier) rather than bundled Mozilla roots. This validates api.cow.fi identically in any normal environment.
@mfw78 mfw78 merged commit 4cd3dcd into develop Jul 1, 2026
10 checks passed
@mfw78 mfw78 deleted the chore/deps-reqwest-misc branch July 1, 2026 13:22
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.

1 participant