From 6caffe9fb302da99ce8cf0c8027c06b8c6de782d Mon Sep 17 00:00:00 2001 From: Ted Mielczarek Date: Mon, 6 Jun 2016 08:41:37 -0400 Subject: [PATCH] fix(proxy): fix the 0.9.x build with `--no-default-features --features=security-framework` The build on OS X was broken in this configuration. Fixes #819 --- src/client/proxy.rs | 2 +- src/net.rs | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/client/proxy.rs b/src/client/proxy.rs index 923d12eaa3..ace8d2b456 100644 --- a/src/client/proxy.rs +++ b/src/client/proxy.rs @@ -16,7 +16,7 @@ pub fn tunnel(proxy: (Cow<'static, str>, u16)) -> Proxy, u16)) -> Proxy { +pub fn tunnel(proxy: (Cow<'static, str>, u16)) -> Proxy { Proxy { connector: HttpConnector, proxy: proxy, diff --git a/src/net.rs b/src/net.rs index 5d7a6edeb3..250eda4c3d 100644 --- a/src/net.rs +++ b/src/net.rs @@ -8,6 +8,9 @@ use std::mem; #[cfg(feature = "openssl")] pub use self::openssl::{Openssl, OpensslClient}; +#[cfg(feature = "security-framework")] +pub use self::security_framework::ClientWrapper; + use std::time::Duration; use typeable::Typeable;