geographiclib-rs
A port of geographiclib in Rust.
0.2.7
18M downloads/mo
#2191 most downloaded on crates.io
georust/geographiclib-rs
What this package is like to depend on
Last release 6 months ago
17 Feb 2026
Release timing varies
gaps range from 1 weeks to 1.9 years
Most releases are documented
notes for 8 of 9 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
9 releases · first in 2020
2 releases in the last 12 months
see the full history below
Release timeline
9 releases · Apr 2020 to Feb 2026Releases
latest 9-
0.2.717 Feb 2026Release notes
Open source →This release is mostly around performance improvements.
Overall changes in benchmark performance since v0.2.6: Direct bench: -6.7% Inverse bench: -22.5%
- Prefer built in math methods over custom implementations in geomath module. This is an internal refactor and shouldn't affect users.
- Speed up Direct/Inverse methods by hardcoding GEODESIC_ORDER.
In practice this was already hardcoded in some places, so there was no benefit to having it a configurable parameter.
Direct bench: -4.4823%
Inverse bench: -15.856%
- See https://github.com/georust/geographiclib-rs/pull/70
- Speed up Direct/Inverse methods a little by simplifying atan2d
Direct bench: -2.8%
Inverse bench: -2.5%
- See https://github.com/georust/geographiclib-rs/pull/71
- Speed up Inverse methods a little by using constantly sized arrays, rather than slices.
Inverse bench: -5%
- See https://github.com/georust/geographiclib-rs/pull/72
-
0.2.606 Feb 2026Release notes
Open source →- Exclude test fixture data and development scripts from published crate to reduce published crate size by ~20kb
-
0.2.509 May 2025Release notes
Open source →- Make
GeodesicLinepublic, which can be more efficient when placing multiple points along a single line.- https://github.com/georust/geographiclib-rs/pull/63
- Thanks to @JMdoubleU for their work here.
- Make
-
0.2.406 Feb 2024Release notes
Open source →- Performance improvements for direct and indirect geodesic calculations
- Remove lazy_static dependency
- Thanks to contributor @valarauca for their work on performance and code cleanup.
-
0.2.302 Mar 2023Release notes
Open source →New Features
- Added
PolygonAreato allow calculating perimeter and area of a polygon on a geodesic. - Added
accuratefeature (enabled by default) for highly accuratePolygonAreacalculations.
- Added
-
0.2.230 Dec 2022Release notes
Open source →This patch release includes only small clippy/lint fixes, and should not appreciably affect behavior. Thanks to @Quba1 for the cleanup!
-
0.2.130 Mar 2022Release notes
Open source →This patch release has no API changes, but fixes some correctness issues around some of the edge cases represented in Karney's GeodSolveXX tests.
My gratitude to Charles Karney for publishing good tests and especially to Stony Lohr (@stonylohr) for implementing them here.
And also thank you to Stony for building out our CI and your other project maintenance work!
<3
Fixed
- Correctness fixes
Internal Work
-
Set up CI to run against Karney's GeodTest data
-
Fix bug in tests
-
Code cleanup
-
0.2.029 Apr 2020 -
0.1.029 Apr 2020Nothing published for this version