Skip to content

Commit fb6e19a

Browse files
committed
Use geo-types rather than geo
Closes #418
1 parent 7e0f10d commit fb6e19a

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

postgres/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ runtime = ["tokio-postgres/runtime", "tokio", "lazy_static", "log"]
1212
"with-bit-vec-0.5" = ["tokio-postgres/with-bit-vec-0.5"]
1313
"with-chrono-0.4" = ["tokio-postgres/with-chrono-0.4"]
1414
"with-eui48-0.4" = ["tokio-postgres/with-eui48-0.4"]
15-
"with-geo-0.11" = ["tokio-postgres/with-geo-0.11"]
15+
"with-geo-types-0.4" = ["tokio-postgres/with-geo-types-0.4"]
1616
"with-serde_json-1" = ["tokio-postgres/with-serde_json-1"]
1717
"with-uuid-0.7" = ["tokio-postgres/with-uuid-0.7"]
1818

tokio-postgres/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ runtime = ["tokio-tcp", "tokio-timer", "tokio-uds", "futures-cpupool", "lazy_sta
3333
"with-bit-vec-0.5" = ["bit-vec-05"]
3434
"with-chrono-0.4" = ["chrono-04"]
3535
"with-eui48-0.4" = ["eui48-04"]
36-
"with-geo-0.11" = ["geo-011"]
36+
"with-geo-types-0.4" = ["geo-types-04"]
3737
with-serde_json-1 = ["serde-1", "serde_json-1"]
3838
"with-uuid-0.7" = ["uuid-07"]
3939

@@ -58,7 +58,7 @@ tokio-timer = { version = "0.2", optional = true }
5858
bit-vec-05 = { version = "0.5", package = "bit-vec", optional = true }
5959
chrono-04 = { version = "0.4", package = "chrono", optional = true }
6060
eui48-04 = { version = "0.4", package = "eui48", optional = true }
61-
geo-011 = { version = "0.11", package = "geo", optional = true }
61+
geo-types-04 = { version = "0.4", package = "geo-types", optional = true }
6262
serde-1 = { version = "1.0", package = "serde", optional = true }
6363
serde_json-1 = { version = "1.0", package = "serde_json", optional = true }
6464
uuid-07 = { version = "0.7", package = "uuid", optional = true }

tokio-postgres/src/types/geo_011.rs renamed to tokio-postgres/src/types/geo_types_04.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
use fallible_iterator::FallibleIterator;
2-
use geo_011::{Coordinate, LineString, Point, Rect};
2+
use geo_types_04::{Coordinate, LineString, Point, Rect};
33
use postgres_protocol::types;
44
use std::error::Error;
55

tokio-postgres/src/types/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ mod bit_vec_05;
7878
mod chrono_04;
7979
#[cfg(feature = "with-eui48-0.4")]
8080
mod eui48_04;
81-
#[cfg(feature = "with-geo-0.11")]
82-
mod geo_011;
81+
#[cfg(feature = "with-geo-types-0.4")]
82+
mod geo_types_04;
8383
#[cfg(feature = "with-serde_json-1")]
8484
mod serde_json_1;
8585
#[cfg(feature = "with-uuid-0.7")]

0 commit comments

Comments
 (0)