geohash_tools/
lib.rs

1#![doc(html_root_url = "https://docs.rs/geohash-tools/")]
2
3//! # geohash-tools
4//!
5//! geohash-tools is a collection of functions for manipulating GeoHashes in Rust.<br>
6//! You can find more about geohash algorithm on [Wikipedia](https://en.wikipedia.org/wiki/Geohash).
7//!
8
9mod geohash;
10mod conversion;
11
12pub use geohash::RUNE_CHAR_INDEX;
13pub use geohash::RUNE_INDEX_CHAR;
14pub use geohash::RUNE_LEN;
15pub use geohash::RUNE_INDEX_LEN;
16
17pub use geohash::GEOHASH_ID_RANGE;
18pub use geohash::geohash_id_range;
19
20pub use conversion::geohash_to_int;
21pub use conversion::int_to_geohash;