Skip to content

georust/geos-sys

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚠️⚠️⚠️⚠️⚠️⚠️ ⚠️ 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).

About

FFI bindings for libgeos

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published