aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorTill Hoeppner2015-06-28 21:50:00 +0200
committerTill Hoeppner2015-06-28 21:50:04 +0200
commit9dbe41f60d411ed28ac360b4585b473100d306de (patch)
tree03a9574005a808af0d3ce8e438cf73a6a8c87298 /src/lib.rs
parentb46d18d07a1dc1768516e8b6a845a20aede320ff (diff)
downloadirsc-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.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) }
}