diff options
author | Till Hoeppner | 2015-06-28 21:50:00 +0200 |
---|---|---|
committer | Till Hoeppner | 2015-06-28 21:50:04 +0200 |
commit | 9dbe41f60d411ed28ac360b4585b473100d306de (patch) | |
tree | 03a9574005a808af0d3ce8e438cf73a6a8c87298 /src/lib.rs | |
parent | b46d18d07a1dc1768516e8b6a845a20aede320ff (diff) | |
download | irsc-9dbe41f60d411ed28ac360b4585b473100d306de.tar.gz irsc-9dbe41f60d411ed28ac360b4585b473100d306de.tar.xz irsc-9dbe41f60d411ed28ac360b4585b473100d306de.zip |
Make openssl a required dependency
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -8,7 +8,6 @@ extern crate regex; #[macro_use] extern crate log; -#[cfg(feature = "ssl")] extern crate openssl; extern crate carboxyl; @@ -25,7 +24,6 @@ use std::io; use std::result; use std::ops::{ Deref, DerefMut }; -#[cfg(feature = "ssl")] use openssl::ssl::error::SslError; pub use ident::Ident; @@ -41,11 +39,9 @@ pub enum IrscError { AlreadyConnected, NotConnected, NotFound, - #[cfg(feature = "ssl")] Ssl(SslError) } -#[cfg(feature = "ssl")] impl From<SslError> for IrscError { fn from(e: SslError) -> IrscError { IrscError::Ssl(e) } } |