From 6b6d15003afb4eac343004e6665b835b9fff2aa6 Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Sat, 25 Jul 2020 12:55:08 +0200 Subject: [PATCH 1/2] Add missing cfg condition on GEOSBuildArea_r --- src/functions.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/functions.rs b/src/functions.rs index d38198a..435cdd7 100644 --- a/src/functions.rs +++ b/src/functions.rs @@ -935,6 +935,7 @@ extern "C" { handle: GEOSContextHandle_t, g: *const GEOSGeometry, ) -> *mut GEOSGeometry; + #[cfg(feature = "v3_8_0")] pub fn GEOSBuildArea_r( handle: GEOSContextHandle_t, g: *const GEOSGeometry, From adc7e83159242f435f19fc3d90989ea026c437b8 Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Sat, 25 Jul 2020 12:55:27 +0200 Subject: [PATCH 2/2] Upgrade crate version to 2.0.1 --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 315b970..5cebb1f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "geos-sys" -version = "2.0.0" +version = "2.0.1" authors = ["Guillaume Gomez "] description = "GEOS C API bindings"