From 0f33cf449bbf9cbad8092ee9b62ee12bb00c2e5f Mon Sep 17 00:00:00 2001 From: Corey Farwell Date: Sat, 16 May 2026 02:08:20 -0400 Subject: [PATCH 1/2] Bump thiserror to 2.0 and reqwest to 0.12 Also drop the unused hyper dependency. --- Cargo.toml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index b9e9b90..58427d6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,17 +11,16 @@ edition = "2018" rust-version = "1.75" [dependencies] -thiserror = "1.0" +thiserror = "2.0" geo-types = "0.7.8" num-traits = "0.2" serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" -reqwest = { version = "0.11", default-features = false, features = [ +reqwest = { version = "0.12", default-features = false, features = [ "default-tls", "blocking", "json", ] } -hyper = "0.14.11" [features] default = ["reqwest/default"] From 79991fcec16cf7139e3111387a130bf50a0816b1 Mon Sep 17 00:00:00 2001 From: Corey Farwell Date: Sat, 16 May 2026 02:12:48 -0400 Subject: [PATCH 2/2] Bump MSRV to 1.86 and switch CI to rust:1.86 image 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. --- .github/workflows/test.yml | 2 +- Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 97f6798..9aa8c28 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -35,7 +35,7 @@ jobs: # giving us about 6 months of coverage. # # Minimum supported rust version (MSRV) - - "georust/geo-ci:proj-9.4.0-rust-1.75" + - "rust:1.86" # Two most recent releases - we omit older ones for expedient CI (TBD) container: image: ${{ matrix.container_image }} diff --git a/Cargo.toml b/Cargo.toml index 58427d6..1c3a9d3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,7 +8,7 @@ repository = "https://github.com/georust/geocoding" keywords = ["gecoding", "geo", "gis", "geospatial"] readme = "README.md" edition = "2018" -rust-version = "1.75" +rust-version = "1.86" [dependencies] thiserror = "2.0"