Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 1 KB

README.md

File metadata and controls

26 lines (16 loc) · 1 KB

⚠️⚠️⚠️⚠️⚠️⚠️ ⚠️ This crate is now hosted in the geos repository. ⚠️⚠️⚠️⚠️⚠️⚠️

geos-sys

GEOS C API bindings.

It provides C-interface as is. If you want to use a more Rust-friendly crate, prefer to use the georust/geos crate.

You can also find it on crates.io.

Static build

If you want to link statically to libgeos, then use the static feature. It will build libgeos so you need to have cmake and a C++ compiler.

Add more functions

A little script is available to check what functions aren't available yet. You can run it as follows:

> python3 check_missing/check_missing.py

It simply reads geos C header file and compare it with the geos-sys's src/functions.rs file. Normally, you should never have more functions in the Rust code than the C code (deprecated functions aren't reexported in Rust).