mourner/delaunator-rs
Description and use
**Summary**
Mourner’s *delaunator‑rs* is a high‑performance Rust implementation of the 2‑D Delaunay triangulation algorithm, directly ported from the popular JavaScript library Delaunator. With 244 GitHub stars and recent activity (last commit 2026‑05‑12), it offers a well‑tested, zero‑dependency crate that can generate triangulations in O(n log n) time.
**Value**
The crate gives Rust projects a fast, deterministic way to compute Delaunay triangulations without pulling in heavyweight geometry libraries, making it ideal for graphics, GIS, mesh generation, or any workflow that needs rapid planar subdivision. Its API mirrors the original Delaunator, so developers familiar with that library can adopt it with minimal learning curve.
**Practical adoption path**
- **Proof‑of‑concept** – Add
delaunator-rsas a dev‑dependency and run the examples from the README on a small data set to verify correctness and performance. - **Integration** – Wrap the triangulation call in a thin abstraction layer (e.g., a
Triangulatortrait) so the rest of the codebase remains decoupled from the concrete crate. - **Testing & validation** – Include property‑based tests (e.g., using
proptest) to ensure the triangulation respects the Delaunay condition for your input domain. - **Security & licensing review** – Confirm the MIT license is compatible with your product and run a dependency scanner (e.g.,
cargo audit) to check for known vulnerabilities.
**Production readiness**
The library is **medium‑ready**: its recent maintenance, modest dependency footprint, and solid benchmark reputation make it suitable for prototypes and internal services, but you should perform the above integration checks and monitor upstream activity before deploying to a critical production environment. Once the wrapper and test suite are in place, *delaunator‑rs* can be promoted to production with confidence.
Use in a workflow
mourner/delaunator-rs may be useful when its README and activity match a concrete workflow.
Limitations and review notes
Medium: useful for prototypes or internal workflows, with dependency and maintenance checks before production.
- Source: github
- Language: Rust
- Record date: 2026-09-05T17:31:41.116Z