From fa3241e6b5b812e6789d3bd253f04f73ff58d699 Mon Sep 17 00:00:00 2001 From: Steven Fackler Date: Thu, 31 Jan 2019 21:28:04 -0800 Subject: [PATCH] Fix geo feature --- tokio-postgres/src/types/{geo_010.rs => geo_011.rs} | 2 +- tokio-postgres/src/types/mod.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) rename tokio-postgres/src/types/{geo_010.rs => geo_011.rs} (97%) diff --git a/tokio-postgres/src/types/geo_010.rs b/tokio-postgres/src/types/geo_011.rs similarity index 97% rename from tokio-postgres/src/types/geo_010.rs rename to tokio-postgres/src/types/geo_011.rs index cb44d426..bb40127c 100644 --- a/tokio-postgres/src/types/geo_010.rs +++ b/tokio-postgres/src/types/geo_011.rs @@ -1,5 +1,5 @@ use fallible_iterator::FallibleIterator; -use geo_010::{Coordinate, LineString, Point, Rect}; +use geo_011::{Coordinate, LineString, Point, Rect}; use postgres_protocol::types; use std::error::Error; diff --git a/tokio-postgres/src/types/mod.rs b/tokio-postgres/src/types/mod.rs index d9580c18..4b13150f 100644 --- a/tokio-postgres/src/types/mod.rs +++ b/tokio-postgres/src/types/mod.rs @@ -78,8 +78,8 @@ mod bit_vec_05; mod chrono_04; #[cfg(feature = "with-eui48-0.4")] mod eui48_04; -#[cfg(feature = "with-geo-0.10")] -mod geo_010; +#[cfg(feature = "with-geo-0.11")] +mod geo_011; #[cfg(feature = "with-serde_json-1")] mod serde_json_1; #[cfg(feature = "with-uuid-0.7")]