From 30cacd04a07f51e41003b5f1f1fa118025a1ee63 Mon Sep 17 00:00:00 2001 From: quininer Date: Mon, 24 Sep 2018 02:09:28 +0800 Subject: [PATCH] fix nightly feature --- src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index 43bd51f..736cad6 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -20,6 +20,8 @@ mod common; use std::io; use std::sync::Arc; +#[cfg(feature = "nightly")] +use std::io::Initializer; use webpki::DNSNameRef; use rustls::{ Session, ClientSession, ServerSession,