This commit is contained in:
Lucio Franco
2019-09-30 14:10:38 -04:00
parent 35c2422cf0
commit cb325c69a7
2 changed files with 2 additions and 5 deletions
+1 -4
View File
@@ -9,9 +9,6 @@
#[macro_export] #[macro_export]
macro_rules! include_proto { macro_rules! include_proto {
($package: tt) => { ($package: tt) => {
include!(concat!( include!(concat!(env!("OUT_DIR"), concat!("/", $package, ".rs")));
env!("OUT_DIR"),
concat!("/", $package, ".rs")
));
}; };
} }
+1 -1
View File
@@ -3,7 +3,7 @@ use crate::transport::{Certificate, Identity};
#[cfg(feature = "openssl")] #[cfg(feature = "openssl")]
use openssl1::{ use openssl1::{
pkey::PKey, pkey::PKey,
ssl::{SslAcceptor, SslConnector, SslMethod, select_next_proto, AlpnError}, ssl::{select_next_proto, AlpnError, SslAcceptor, SslConnector, SslMethod},
x509::X509, x509::X509,
}; };
use std::{fmt, sync::Arc}; use std::{fmt, sync::Arc};