Skip to content

Commit 37d0a83

Browse files
committed
remove uuid 0.7 support
1 parent 8ee231f commit 37d0a83

File tree

8 files changed

+1
-52
lines changed

8 files changed

+1
-52
lines changed

postgres-types/Cargo.toml

-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ with-chrono-0_4 = ["chrono-04"]
1717
with-eui48-0_4 = ["eui48-04"]
1818
with-geo-types-0_4 = ["geo-types-04"]
1919
with-serde_json-1 = ["serde-1", "serde_json-1"]
20-
with-uuid-0_7 = ["uuid-07"]
2120
with-uuid-0_8 = ["uuid-08"]
2221

2322
[dependencies]
@@ -32,5 +31,4 @@ eui48-04 = { version = "0.4", package = "eui48", optional = true }
3231
geo-types-04 = { version = "0.4", package = "geo-types", optional = true }
3332
serde-1 = { version = "1.0", package = "serde", optional = true }
3433
serde_json-1 = { version = "1.0", package = "serde_json", optional = true }
35-
uuid-07 = { version = "0.7", package = "uuid", optional = true }
3634
uuid-08 = { version = "0.8", package = "uuid", optional = true }

postgres-types/src/lib.rs

-2
Original file line numberDiff line numberDiff line change
@@ -198,8 +198,6 @@ mod eui48_04;
198198
mod geo_types_04;
199199
#[cfg(feature = "with-serde_json-1")]
200200
mod serde_json_1;
201-
#[cfg(feature = "with-uuid-0_7")]
202-
mod uuid_07;
203201
#[cfg(feature = "with-uuid-0_8")]
204202
mod uuid_08;
205203

postgres-types/src/uuid_07.rs

-25
This file was deleted.

postgres/Cargo.toml

-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ with-chrono-0_4 = ["tokio-postgres/with-chrono-0_4"]
2626
with-eui48-0_4 = ["tokio-postgres/with-eui48-0_4"]
2727
with-geo-types-0_4 = ["tokio-postgres/with-geo-types-0_4"]
2828
with-serde_json-1 = ["tokio-postgres/with-serde_json-1"]
29-
with-uuid-0_7 = ["tokio-postgres/with-uuid-0_7"]
3029
with-uuid-0_8 = ["tokio-postgres/with-uuid-0_8"]
3130

3231
[dependencies]

tokio-postgres/Cargo.toml

-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ with-chrono-0_4 = ["postgres-types/with-chrono-0_4"]
3232
with-eui48-0_4 = ["postgres-types/with-eui48-0_4"]
3333
with-geo-types-0_4 = ["postgres-types/with-geo-types-0_4"]
3434
with-serde_json-1 = ["postgres-types/with-serde_json-1"]
35-
with-uuid-0_7 = ["postgres-types/with-uuid-0_7"]
3635
with-uuid-0_8 = ["postgres-types/with-uuid-0_8"]
3736

3837
[dependencies]

tokio-postgres/src/to_statement.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ mod private {
2727
/// was prepared previously.
2828
///
2929
/// This trait is "sealed" and cannot be implemented by anything outside this crate.
30-
pub trait ToStatement: private::Sealed {
30+
pub trait ToStatement: Sealed {
3131
#[doc(hidden)]
3232
fn __convert(&self) -> ToStatementType<'_>;
3333
}

tokio-postgres/tests/test/types/mod.rs

-2
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ mod eui48_04;
2222
mod geo_010;
2323
#[cfg(feature = "with-serde_json-1")]
2424
mod serde_json_1;
25-
#[cfg(feature = "with-uuid-0_7")]
26-
mod uuid_07;
2725
#[cfg(feature = "with-uuid-0_8")]
2826
mod uuid_08;
2927

tokio-postgres/tests/test/types/uuid_07.rs

-18
This file was deleted.

0 commit comments

Comments
 (0)