18 releases (breaking)

0.18.0 Dec 16, 2023
0.17.0 Jan 19, 2023
0.16.0 Oct 25, 2022
0.14.0 Jan 23, 2022
0.8.1 Mar 30, 2021

#195 in Geospatial

Download history 12/week @ 2024-06-25 1/week @ 2024-07-09 8/week @ 2024-07-16 18/week @ 2024-07-23 3/week @ 2024-07-30 5/week @ 2024-08-06 10/week @ 2024-08-27 6/week @ 2024-09-17 99/week @ 2024-09-24 7/week @ 2024-10-01 6/week @ 2024-10-08

118 downloads per month
Used in 6 crates

MIT license

485KB
9K SLoC

C 4.5K SLoC // 0.4% comments Rust 4.5K SLoC // 0.0% comments

h3ron

Latest Version Documentation

High-level rust API for H3.

Changelog

Maintenance status

In january 2023 the h3o library - a port of H3 to rust - has been released. This brings many benefits including type safety, compilation to WASM and performance improvements (example: issue comparing raster to h3 conversion).

As a result this library will most certainly only receive dependency upgrades in the future.


lib.rs:

This crate depends on the h3ron-h3-sys crate, which includes the C sources for libh3. So compiling requires a C toolchain and the cmake build tool.

Features

  • use-serde: serde serialization/deserialization for most types of this crate.
  • use-rayon
  • roaring: Enables collections::H3Treemap based on the roaring crate.
  • parse: Parse H3Cell from different string representations using H3Cell::from_str.

Dependencies

~9MB
~150K SLoC