From 8a61d46905571ff2b530b204dfa7c56ccbace7f4 Mon Sep 17 00:00:00 2001 From: Julius de Bruijn Date: Mon, 22 Mar 2021 18:06:50 +0100 Subject: [PATCH] Allow vendoring openssl --- postgres-native-tls/Cargo.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/postgres-native-tls/Cargo.toml b/postgres-native-tls/Cargo.toml index 8180cd012..1b201ac8d 100644 --- a/postgres-native-tls/Cargo.toml +++ b/postgres-native-tls/Cargo.toml @@ -14,12 +14,13 @@ circle-ci = { repository = "sfackler/rust-postgres" } [features] default = ["runtime"] runtime = ["tokio-postgres/runtime"] +vendored-openssl = ["tokio-native-tls/vendored-openssl", "native-tls/vendored"] [dependencies] futures = "0.3" native-tls = "0.2" tokio = "1.0" -tokio-native-tls = "0.3" +tokio-native-tls = { git = "https://github.com/pimeys/tls", branch = "vendored-openssl" } tokio-postgres = { version = "0.7.0", path = "../tokio-postgres", default-features = false } [dev-dependencies]