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

#258 in Geospatial

Download history 10/week @ 2024-08-26 103/week @ 2024-09-23 9/week @ 2024-09-30 5/week @ 2024-10-07 11/week @ 2024-10-14 6/week @ 2024-11-04 21/week @ 2024-11-18 7/week @ 2024-11-25 3/week @ 2024-12-02 147/week @ 2024-12-09

178 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

~9.5MB
~156K SLoC