Skip to content

Commit 8a61d46

Browse files
author
Julius de Bruijn
committed
Allow vendoring openssl
1 parent 100e4cf commit 8a61d46

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

postgres-native-tls/Cargo.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,13 @@ circle-ci = { repository = "sfackler/rust-postgres" }
1414
[features]
1515
default = ["runtime"]
1616
runtime = ["tokio-postgres/runtime"]
17+
vendored-openssl = ["tokio-native-tls/vendored-openssl", "native-tls/vendored"]
1718

1819
[dependencies]
1920
futures = "0.3"
2021
native-tls = "0.2"
2122
tokio = "1.0"
22-
tokio-native-tls = "0.3"
23+
tokio-native-tls = { git = "https://github.com/pimeys/tls", branch = "vendored-openssl" }
2324
tokio-postgres = { version = "0.7.0", path = "../tokio-postgres", default-features = false }
2425

2526
[dev-dependencies]

0 commit comments

Comments
 (0)