Skip to content

Bump thiserror to 2.0 and reqwest to 0.12#66

Merged
frewsxcv merged 2 commits into
masterfrom
bump-deps
May 16, 2026
Merged

Bump thiserror to 2.0 and reqwest to 0.12#66
frewsxcv merged 2 commits into
masterfrom
bump-deps

Conversation

@frewsxcv
Copy link
Copy Markdown
Member

Summary

  • Bump thiserror from 1.0 to 2.0
  • Bump reqwest from 0.11 to 0.12
  • Drop the unused hyper dependency

The reqwest API surface used in src/lib.rs (blocking::Client, header::{ToStrError, HeaderMap, HeaderValue, USER_AGENT}, reqwest::Error) is unchanged across 0.11 → 0.12, and thiserror 2.0 keeps #[from] working as before, so no source changes were needed.

Test plan

  • cargo build clean with default features
  • cargo build --no-default-features --features rustls-tls clean
  • Existing test suite still passes (note: live OpenCage/OSM tests rely on external APIs and may flake on 401s unrelated to this change)

frewsxcv added 2 commits May 16, 2026 02:08
Also drop the unused hyper dependency.
reqwest 0.12 transitively requires Rust 1.86 (via idna_adapter
1.2.2, which uses edition2024). The georust/geo-ci image only
ships up to rust-1.75 and this crate doesn't use proj, so switch
to the stock rust:1.86 image.
@frewsxcv frewsxcv merged commit 0bf242b into master May 16, 2026
1 of 2 checks passed
@frewsxcv frewsxcv deleted the bump-deps branch May 16, 2026 06:15
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