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

#168 in Geospatial

Download history 51/week @ 2024-01-21 29/week @ 2024-02-18 71/week @ 2024-02-25 8/week @ 2024-03-03 13/week @ 2024-03-10 6/week @ 2024-03-17 1/week @ 2024-03-24 80/week @ 2024-03-31 4/week @ 2024-04-07 5/week @ 2024-04-21

89 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
~149K SLoC