aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 32f153d..d624445 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -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) }
}