From 7578f912fa4172886ba8504a011dd17f3c57fb8b Mon Sep 17 00:00:00 2001 From: Steven Fackler Date: Thu, 1 Oct 2020 20:02:13 -0400 Subject: [PATCH] Fix build --- src/lib.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 8aeb2e8..d8c708c 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -14,10 +14,8 @@ use hyper::Uri; use once_cell::sync::OnceCell; use openssl::error::ErrorStack; use openssl::ex_data::Index; -#[cfg(feature = "runtime")] -use openssl::ssl::SslMethod; use openssl::ssl::{ - ConnectConfiguration, Ssl, SslConnector, SslConnectorBuilder, SslSessionCacheMode, + ConnectConfiguration, Ssl, SslConnector, SslConnectorBuilder, SslMethod, SslSessionCacheMode, }; use std::error::Error; use std::fmt::Debug;