Skip to content

georust/geos-sys

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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