3 unstable releases
| 0.2.1 | Mar 10, 2026 |
|---|---|
| 0.2.0 | Mar 9, 2026 |
| 0.1.1 | Feb 26, 2026 |
#1406 in Math
3.5MB
16K
SLoC
wagyu-rs
⚠️ Work in Progress: This is a WIP port of Wagyu to Rust. Code is generated with Claude; please take it with a grain of salt as I figure it out. --Nissim
Geometry boolean operations in Rust - port of Mapbox wagyu.
Operations
- Union - Combine two polygons
- Intersection - Common area of two polygons
- Difference - Subtract one polygon from another
- Xor - Symmetric difference
All output is guaranteed valid per OGC standards.
Install
cargo add wagyu-core
Usage
use wagyu_rs::{Operation, /* ... */};
// API under development - see context/ARCHITECTURE.md for porting progress
Development
git clone https://github.com/nlebovits/wagyu-rs.git && cd wagyu-rs
git config core.hooksPath .githooks
cargo build && cargo test
See CONTRIBUTING.md for details.
License
BSL-1.0 (Boost Software License) - same as original wagyu.
Dependencies
~12MB
~203K SLoC