chore(deps): update rust crate proj to 0.32.0 #4

Open
renovate wants to merge 1 commit from renovate/proj-0-x into main
Collaborator

This PR contains the following updates:

Package Type Update Change
proj dependencies minor 0.29.0 → 0.32.0

Release Notes

georust/proj (proj)

v0.32.0

Compare Source

  • Update to proj-sys 0.28.0:
    • Update to PROJ 9.9.0. Building PROJ from source requires CMake 3.22.1 or
      later.
    • Allow any 0.x version of libsqlite3-sys from 0.28. Version 0.39.0 and
      later fix RUSTSEC-2026-0459 (#​271).
  • Add the bundled_proj_sqlite feature, which builds PROJ and SQLite from
    source. Use it to build on Windows with MSVC.
    (#​245)
  • Document how to build on Windows with MSVC and MSYS2, and test these builds
    in CI (#​161)
  • Add fixes for buffer overflow and incorrect char replacement
  • Persist network client between requests, which should speed up grid
    operations that require multiple network requests.
  • No longer free PROJ's process-global resource caches (grids and +init
    files) when a Proj or ProjBuilder is dropped. These caches persist for
    the lifetime of the process, substantially speeding up repeated creation of
    transformation objects (#​256).
  • Add Proj::equivalent_to() method to assess whether two Proj instances are the same
  • Proj::new and Proj::new_known_crs now reuse one PROJ context per thread
    instead of creating a new one per call, reducing construction time from
    ~300us to ~1us per object (#​256).
  • Refactored options logic
  • Update MSRV to 1.88
  • Add an RAII wrapper for a PJ_AREA allocated by proj_area_create, which
    prevents memory leaks on error paths (#​262)
  • Deprecate Proj::area_set_bbox. It has no effect, because PROJ reads the area
    of use only when it creates a transformation object. Pass the area of use to
    the constructor instead.
  • Add Proj::identifiers, which returns the authority names and codes of an
    object, for example EPSG:3035 (#​267)
  • Add Proj::identify, which finds known CRSs that match a CRS, with a
    confidence value for each match (#​267)

v0.31.0

Compare Source

  • Add Proj::as_wkt() function
  • Update to proj-sys 0.27.0:
    • Update to PROJ 9.6.2
    • Update MSRV to 1.85
    • Update edition to 2024

v0.30.0

Compare Source

  • Add coordinate metadata creation and query functions
  • Add method for Proj creation from existing Proj instances, optionally containing epochs
  • Update ureq to 3.x and adapt network functionality to its new API

0.29.0 - 2025-03-17

  • Update build status badge
  • Update MSRV to 1.81
  • Add support for building with libsqlite3-sys 0.32

0.28.0 - 2024-12-20

  • Update to proj-sys 0.25.0 (libproj 9.4.0)
  • BREAKING: Provide bundled bindings by default and move support for build time generated bindings behind the buildtime_bindgen feature of proj-sys
  • Bump MSRV to 1.70

0.27.2

  • Update to proj-sys 0.23.2 (libproj 9.2.1)

0.27.1

  • FIX: network feature fails to compile on aarch64/arm64
  • Bump approx dev dependency to match geo-types. This doesn't affect
    downstream users, only those building the proj crate for development.
  • Changed license field to SPDX 2.1 license expression
  • Run clippy and apply fixes
  • Update to geo-types 0.7.10
  • Update MSRV to 1.63

0.27.0

  • Inline the functionality of the legacy Info trait directly into Proj/ProjBuilder and remove the Info trait.
    • BREAKING: Getting information about the version of libproj installed was renamed from proj.info() to proj.lib_info()
    • Make PjInfo struct public, and rename it to ProjInfo
    • #​133
  • Actually return an error if a definition can't be retrieved
  • Update to PROJ 9.0.1 (proj-sys 0.23.1)

0.26.0

0.25.2

  • Introduce Transform trait, add implementations for geo-types

0.25.1

  • Fix intermittently wrong results due to memory initialization error.

0.25.0

  • Fix memory leak in network grid functionality
  • Mark mutable methods with &mut
  • Update proj::Proj constructors to return Result instead of Option
  • Add TryFrom impls for proj::Proj
  • Refactor proj_create* calls

0.24.0

  • update to proj-sys 0.21.0

0.23.1

  • Update docs to refer to correct libproj version

0.23

  • Update to PROJ 8.1.0 via proj-sys 0.20.0
  • Add Debug impl for proj::Proj

0.22.1

0.22.0

  • Update PROJ to 7.2.1 via proj-sys 0.19.0

0.21.0

  • geo-types integration is now optional, but enabled by default. If you are
    not using the geo-types feature, instead of a geo_types::Point, you can
    project (f64, f64), or anything conforming to the new proj::Coord trait.

  • Updated to geo-types v0.7.0 and reqwest v0.11.0

  • TIFF support is now opt-in when building PROJ via the bundled_proj feature

0.20.4

  • Incorporate proj-sys repo
  • Switch to GH actions

0.20.3

  • Disable default features in Reqwest

0.20.0

  • Add network control and grid download functionality

0.19.0

  • Update to proj-sys 0.17.1

0.18.0

  • Bump geo-types

0.17.1

  • Fix docs
  • Make Projinfo struct public
  • Generalise array ops

0.17.0

  • More extensive error-handling
  • Error enum is now public

0.16.3

  • add info() and set_search_paths methods (#​30)

0.16.2

  • Enable bundled_proj for macOS target

0.16.1

  • Update to proj-sys v0.16.3 (PROJ 7.0.1)
  • Re-export the bundled_proj feature introduced in proj-sys v0.15.0
  • Re-export the pkg_config feature introduced in proj-sys v0.15.0

0.16.0

  • Update to geo-types v0.5.0

0.15.0

  • Update to proj-sys v0.13.0
  • Update to use PROJ v7.0.0

0.14.4

  • Add array projection method
  • Fix potential leak of PJ object in new_known_crs

0.14.0

  • Normalise input and output coordinate order to Lat, Lon / Easting, Northing for conversions between known CRS (#​21)

0.13.0

  • Updated to proj-sys 0.12.0 (PROJ 6.3)

0.12.1

  • convert and project operations now accept any type that has an Into<Point<T>>impl. This is a backward-compatible API change
  • New Area bboxes no longer need to be wrapped in an Option

0.10.9

  • add bulk conversion (#​17)

0.9.7

  • Update to PROJ v6.2.
    • This requires a minimum PROJ version of 6.2.0

0.9.6

  • Fix README example

0.9.5

  • Fix doctests

0.9.3

  • Destroy threading context before dropping Proj (#​15)

0.9.2

  • Ensure that errors are reset before projection / conversion calls

0.9.0

  • Update proj-sys to v0.9.0
    • This requires a minimum PROJ.4 version of 6.0.0
  • Add support for proj_create_crs_to_crs for creating a transformation object that is a pipeline between two known coordinate reference systems.

0.7.0

  • Update proj-sys to v0.8.0
    • This requires a minimum PROJ.4 version of 5.2.0

0.6.0

  • Update proj-sys to v0.7.0
    • This requires a minimum PROJ.4 version of 5.1.0
  • Deprecate use of pj_strerrno in favour of proj_errno_string

0.5.0

0.4.0

0.3.0


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate CLI.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [proj](https://github.com/georust/proj) | dependencies | minor | `0.29.0` → `0.32.0` | --- ### Release Notes <details> <summary>georust/proj (proj)</summary> ### [`v0.32.0`](https://github.com/georust/proj/blob/HEAD/CHANGES.md#0320---2026-11-10) [Compare Source](https://github.com/georust/proj/compare/v0.31.0...v0.32.0) - Update to proj-sys 0.28.0: - Update to PROJ 9.9.0. Building PROJ from source requires CMake 3.22.1 or later. - Allow any 0.x version of `libsqlite3-sys` from 0.28. Version 0.39.0 and later fix RUSTSEC-2026-0459 ([#&#8203;271](https://github.com/georust/proj/issues/271)). - Add the `bundled_proj_sqlite` feature, which builds PROJ and SQLite from source. Use it to build on Windows with MSVC. ([#&#8203;245](https://github.com/georust/proj/pull/245)) - Document how to build on Windows with MSVC and MSYS2, and test these builds in CI ([#&#8203;161](https://github.com/georust/proj/issues/161)) - Add fixes for buffer overflow and incorrect char replacement - Persist network client between requests, which should speed up grid operations that require multiple network requests. - No longer free PROJ's process-global resource caches (grids and `+init` files) when a `Proj` or `ProjBuilder` is dropped. These caches persist for the lifetime of the process, substantially speeding up repeated creation of transformation objects ([#&#8203;256](https://github.com/georust/proj/issues/256)). - Add Proj::equivalent_to() method to assess whether two Proj instances are the same - `Proj::new` and `Proj::new_known_crs` now reuse one PROJ context per thread instead of creating a new one per call, reducing construction time from \~300us to \~1us per object ([#&#8203;256](https://github.com/georust/proj/issues/256)). - Refactored options logic - Update MSRV to 1.88 - Add an RAII wrapper for a `PJ_AREA` allocated by `proj_area_create`, which prevents memory leaks on error paths ([#&#8203;262](https://github.com/georust/proj/pull/262)) - Deprecate `Proj::area_set_bbox`. It has no effect, because PROJ reads the area of use only when it creates a transformation object. Pass the area of use to the constructor instead. - Add `Proj::identifiers`, which returns the authority names and codes of an object, for example `EPSG:3035` ([#&#8203;267](https://github.com/georust/proj/pull/267)) - Add `Proj::identify`, which finds known CRSs that match a CRS, with a confidence value for each match ([#&#8203;267](https://github.com/georust/proj/pull/267)) ### [`v0.31.0`](https://github.com/georust/proj/blob/HEAD/CHANGES.md#0310---2025-08-29) [Compare Source](https://github.com/georust/proj/compare/proj-v0.30.0...v0.31.0) - Add Proj::as_wkt() function - Update to proj-sys 0.27.0: - Update to PROJ 9.6.2 - Update MSRV to 1.85 - Update edition to 2024 ### [`v0.30.0`](https://github.com/georust/proj/blob/HEAD/CHANGES.md#0300---2025-04-18) [Compare Source](https://github.com/georust/proj/compare/v0.29.0...proj-v0.30.0) - Add coordinate metadata creation and query functions - Add method for Proj creation from existing Proj instances, optionally containing epochs - Update ureq to 3.x and adapt network functionality to its new API #### 0.29.0 - 2025-03-17 - Update build status badge - Update MSRV to 1.81 - Add support for building with libsqlite3-sys 0.32 #### 0.28.0 - 2024-12-20 - Update to proj-sys 0.25.0 (libproj 9.4.0) - BREAKING: Provide bundled bindings by default and move support for build time generated bindings behind the `buildtime_bindgen` feature of proj-sys - Bump MSRV to 1.70 #### 0.27.2 - Update to proj-sys 0.23.2 (libproj 9.2.1) - [#&#8203;167](https://github.com/georust/proj/pull/167) #### 0.27.1 - FIX: `network` feature fails to compile on aarch64/arm64 - [#&#8203;163](https://github.com/georust/proj/issues/163) - Bump `approx` dev dependency to match `geo-types`. This doesn't affect downstream users, only those building the proj crate for development. - [#&#8203;138](https://github.com/georust/proj/pull/138) - Changed license field to [SPDX 2.1 license expression](https://spdx.dev/spdx-specification-21-web-version/#h.jxpfx0ykyb60) - [#&#8203;146](https://github.com/georust/proj/pull/146) - Run clippy and apply fixes - [#&#8203;151](https://github.com/georust/proj/pull/151) - Update to geo-types 0.7.10 - [#&#8203;153](https://github.com/georust/proj/pull/153) - Update MSRV to 1.63 - [#&#8203;160](https://github.com/georust/proj/pull/160) #### 0.27.0 - Inline the functionality of the legacy `Info` trait directly into `Proj`/`ProjBuilder` and remove the `Info` trait. - BREAKING: Getting information about the version of libproj installed was renamed from proj.info() to proj.lib_info() - Make `PjInfo` struct public, and rename it to `ProjInfo` - [#&#8203;133](https://github.com/georust/proj/pull/133) - Actually return an error if a definition can't be retrieved - [#&#8203;132](https://github.com/georust/proj/pull/132) - Update to PROJ 9.0.1 (proj-sys 0.23.1) - [#&#8203;135](https://github.com/georust/proj/pull/135) #### 0.26.0 - Update to proj 9 - [#&#8203;119](https://github.com/georust/proj/pull/119) #### 0.25.2 - Introduce `Transform` trait, add implementations for `geo-types` - [#&#8203;109](https://github.com/georust/proj/pull/109) #### 0.25.1 - Fix intermittently wrong results due to memory initialization error. - [#&#8203;104](https://github.com/georust/proj/pull/104) #### 0.25.0 - Fix memory leak in network grid functionality - [#&#8203;94](https://github.com/georust/proj/pull/94) - Mark mutable methods with `&mut` - [#&#8203;102](https://github.com/georust/proj/pull/102) - Update `proj::Proj` constructors to return `Result` instead of `Option` - [#&#8203;98](https://github.com/georust/proj/pull/98) - Add `TryFrom` impls for `proj::Proj` - [#&#8203;100](https://github.com/georust/proj/pull/100) - Refactor `proj_create*` calls - [#&#8203;103](https://github.com/georust/proj/pull/103) #### 0.24.0 - update to proj-sys 0.21.0 #### 0.23.1 - Update docs to refer to correct libproj version #### 0.23 - Update to PROJ 8.1.0 via proj-sys 0.20.0 - Add Debug impl for proj::Proj #### 0.22.1 - Update proj-sys to 0.19.1 - <https://github.com/georust/proj/blob/proj-sys-0.19.1/proj-sys/CHANGES.md> #### 0.22.0 - Update PROJ to 7.2.1 via proj-sys 0.19.0 #### 0.21.0 - geo-types integration is now optional, but enabled by default. If you are not using the geo-types feature, instead of a `geo_types::Point`, you can project `(f64, f64)`, or anything conforming to the new `proj::Coord` trait. - Updated to `geo-types` v0.7.0 and `reqwest` v0.11.0 - TIFF support is now opt-in when building PROJ via the `bundled_proj` feature - [#&#8203;58](https://github.com/georust/proj/pull/58) #### 0.20.4 - Incorporate proj-sys repo - Switch to GH actions #### 0.20.3 - Disable default features in Reqwest #### 0.20.0 - Add network control and grid download functionality #### 0.19.0 - Update to proj-sys 0.17.1 #### 0.18.0 - Bump geo-types #### 0.17.1 - Fix docs - Make Projinfo struct public - Generalise array ops #### 0.17.0 - More extensive error-handling - Error enum is now public #### 0.16.3 - add info() and set_search_paths methods ([#&#8203;30](https://github.com/georust/proj/issues/30)) #### 0.16.2 - Enable bundled_proj for macOS target #### 0.16.1 - Update to proj-sys v0.16.3 (PROJ 7.0.1) - Re-export the bundled_proj feature introduced in proj-sys v0.15.0 - Re-export the pkg_config feature introduced in proj-sys v0.15.0 #### 0.16.0 - Update to geo-types v0.5.0 #### 0.15.0 - Update to proj-sys v0.13.0 - Update to use PROJ v7.0.0 #### 0.14.4 - Add array projection method - Fix potential leak of PJ object in `new_known_crs` #### 0.14.0 - Normalise input and output coordinate order to Lat, Lon / Easting, Northing for conversions between known CRS ([#&#8203;21](https://github.com/georust/proj/issues/21)) #### 0.13.0 - Updated to proj-sys 0.12.0 (PROJ 6.3) #### 0.12.1 - `convert` and `project` operations now accept any type that has an `Into<Point<T>>`impl. This is a backward-compatible API change - New `Area` `bbox`es no longer need to be wrapped in an `Option` #### 0.10.9 - add bulk conversion ([#&#8203;17](https://github.com/georust/proj/issues/17)) #### 0.9.7 - Update to PROJ v6.2. - This requires a minimum PROJ version of 6.2.0 #### 0.9.6 - Fix README example #### 0.9.5 - Fix doctests #### 0.9.3 - Destroy threading context before dropping Proj ([#&#8203;15](https://github.com/georust/proj/issues/15)) #### 0.9.2 - Ensure that errors are reset before projection / conversion calls #### 0.9.0 - Update proj-sys to v0.9.0 - This requires a minimum PROJ.4 version of 6.0.0 - Add support for `proj_create_crs_to_crs` for creating a transformation object that is a pipeline between two known coordinate reference systems. #### 0.7.0 - Update proj-sys to v0.8.0 - This requires a minimum PROJ.4 version of 5.2.0 #### 0.6.0 - Update proj-sys to v0.7.0 - This requires a minimum PROJ.4 version of 5.1.0 - Deprecate use of `pj_strerrno` in favour of proj_errno_string #### 0.5.0 - [Switch to `geo-types` crate](https://github.com/georust/rust-proj/pull/8) #### 0.4.0 - [Switch to `proj-sys` crate, and PROJ.4 v5.0.0 API](https://github.com/georust/rust-proj/pull/6) - Split operations into `project` and `convert` - `project` and `convert` return `Result` #### 0.3.0 - [Use `c_void` instead of unit](https://github.com/georust/rust-proj/pull/5) - Add example to README </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xNjAuNCIsInVwZGF0ZWRJblZlciI6IjQ0LjE5OC4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJyZW5vdmF0ZSJdfQ==-->
chore(deps): update rust crate proj to 0.31.0
Some checks failed
renovate/artifacts Artifact file update failure
ci/woodpecker/pr/build Pipeline failed
7348d335a3
Author
Collaborator

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: Cargo.lock
Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path Cargo.toml --workspace
    Updating crates.io index
error: failed to select a version for `proj-sys`.
    ... required by package `proj v0.29.0`
    ... which satisfies dependency `proj = "^0.29.0"` of package `geo v0.30.0`
    ... which satisfies dependency `geo = "^0.30.0"` of package `wetter v0.1.0 (/var/lib/renovate/repos/forgejo/luca/wetter)`
versions that meet the requirements `^0.25.0` are: 0.25.0

package `proj-sys` links to the native library `proj`, but it conflicts with a previous package which links to `proj` as well:
package `proj-sys v0.28.0`
    ... which satisfies dependency `proj-sys = "^0.28.0"` of package `proj v0.32.0`
    ... which satisfies dependency `proj = "^0.32.0"` of package `wetter v0.1.0 (/var/lib/renovate/repos/forgejo/luca/wetter)`
note: only one package in the dependency graph may specify the same links value to ensure that only one copy of a native library is linked in the final binary
for more information, see https://doc.rust-lang.org/cargo/reference/resolver.html#links
help: try to adjust your dependencies so that only one package uses the `links = "proj"` value

failed to select a version for `proj-sys` which could resolve this conflict

### ⚠️ Artifact update problem Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is. ♻ Renovate will retry this branch, including artifacts, only when one of the following happens: - any of the package files in this branch needs updating, or - the branch becomes conflicted, or - you click the rebase/retry checkbox if found above, or - you rename this PR's title to start with "rebase!" to trigger it manually The artifact failure details are included below: ##### File name: Cargo.lock ``` Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path Cargo.toml --workspace Updating crates.io index error: failed to select a version for `proj-sys`. ... required by package `proj v0.29.0` ... which satisfies dependency `proj = "^0.29.0"` of package `geo v0.30.0` ... which satisfies dependency `geo = "^0.30.0"` of package `wetter v0.1.0 (/var/lib/renovate/repos/forgejo/luca/wetter)` versions that meet the requirements `^0.25.0` are: 0.25.0 package `proj-sys` links to the native library `proj`, but it conflicts with a previous package which links to `proj` as well: package `proj-sys v0.28.0` ... which satisfies dependency `proj-sys = "^0.28.0"` of package `proj v0.32.0` ... which satisfies dependency `proj = "^0.32.0"` of package `wetter v0.1.0 (/var/lib/renovate/repos/forgejo/luca/wetter)` note: only one package in the dependency graph may specify the same links value to ensure that only one copy of a native library is linked in the final binary for more information, see https://doc.rust-lang.org/cargo/reference/resolver.html#links help: try to adjust your dependencies so that only one package uses the `links = "proj"` value failed to select a version for `proj-sys` which could resolve this conflict ```
renovate force-pushed renovate/proj-0-x from 7348d335a3
Some checks failed
renovate/artifacts Artifact file update failure
ci/woodpecker/pr/build Pipeline failed
to a09f549deb
Some checks failed
renovate/artifacts Artifact file update failure
ci/woodpecker/pr/build Pipeline failed
2026-11-12 22:03:11 +01:00
Compare
renovate changed title from chore(deps): update rust crate proj to 0.31.0 to chore(deps): update rust crate proj to 0.32.0 2026-11-12 22:03:12 +01:00
Some checks failed
renovate/artifacts Artifact file update failure
ci/woodpecker/pr/build Pipeline failed
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'renovate/proj-0-x:renovate/proj-0-x'
git switch 'renovate/proj-0-x'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'renovate/proj-0-x'
git switch 'renovate/proj-0-x'
git rebase 'main'
git switch 'main'
git merge --ff-only 'renovate/proj-0-x'
git switch 'renovate/proj-0-x'
git rebase 'main'
git switch 'main'
git merge --no-ff 'renovate/proj-0-x'
git switch 'main'
git merge --squash 'renovate/proj-0-x'
git switch 'main'
git merge --ff-only 'renovate/proj-0-x'
git switch 'main'
git merge 'renovate/proj-0-x'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
luca/wetter!4
No description provided.