geo-coding
This is offline reverse geocoding crate that uses files derived from OSM data.
In memory the data is stored in a two-dimensional tree that enables efficient queruing for nearest neighbours.
The total size of all files related to Europe is around 200 MiB.
You can use geo-coding-cli utility to produce your own files for particular Earth regions or for the full planet.