diff --git a/Cargo.toml b/Cargo.toml index 9ea50d14..69e01463 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,6 +6,3 @@ members = [ "postgres-shared", "tokio-postgres" ] - -[patch.crates-io] -socket2 = { git = "https://github.com/sfackler/socket2-rs", branch = "keepalive" } diff --git a/postgres/Cargo.toml b/postgres/Cargo.toml index cb44c21a..edebfe92 100644 --- a/postgres/Cargo.toml +++ b/postgres/Cargo.toml @@ -58,7 +58,7 @@ no-logging = [] bytes = "0.4" fallible-iterator = "0.1.3" log = "0.4" -socket2 = { version = "0.3", features = ["unix"] } +socket2 = { version = "0.3.5", features = ["unix"] } openssl = { version = "0.9.23", optional = true } native-tls = { version = "0.1", optional = true }