diff --git a/postgres/src/tls/native_tls.rs b/postgres/src/tls/native_tls.rs index fb48858c..f0b1d80b 100644 --- a/postgres/src/tls/native_tls.rs +++ b/postgres/src/tls/native_tls.rs @@ -1,5 +1,5 @@ //! Native TLS support. -extern crate native_tls; +pub extern crate native_tls; use std::error::Error; use std::fmt; diff --git a/postgres/src/tls/openssl.rs b/postgres/src/tls/openssl.rs index 3ca3e50f..3db6f01e 100644 --- a/postgres/src/tls/openssl.rs +++ b/postgres/src/tls/openssl.rs @@ -1,5 +1,5 @@ //! OpenSSL support. -extern crate openssl; +pub extern crate openssl; use std::error::Error; use std::fmt; diff --git a/postgres/src/tls/schannel.rs b/postgres/src/tls/schannel.rs index 04fadef4..9f729448 100644 --- a/postgres/src/tls/schannel.rs +++ b/postgres/src/tls/schannel.rs @@ -1,6 +1,6 @@ //! SChannel support. -extern crate schannel; +pub extern crate schannel; use std::error::Error; use std::fmt; diff --git a/postgres/src/tls/security_framework.rs b/postgres/src/tls/security_framework.rs index cd778452..d0696adb 100644 --- a/postgres/src/tls/security_framework.rs +++ b/postgres/src/tls/security_framework.rs @@ -1,5 +1,5 @@ //! Security Framework support. -extern crate security_framework; +pub extern crate security_framework; use self::security_framework::secure_transport::{SslStream, ClientBuilder}; use tls::{Stream, TlsStream, TlsHandshake};