aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorTill Höppner2015-12-04 01:20:02 +0100
committerTill Höppner2015-12-04 01:20:02 +0100
commit238bb119dbb8dcf3d67c5647692237c4fc7f2da6 (patch)
treed52fe2105c9927eb54bb762525730d2ca1a7e8ff /src/lib.rs
parent7fa79ea0692e958841032563d91ee98210ea18a0 (diff)
downloadirsc-238bb119dbb8dcf3d67c5647692237c4fc7f2da6.tar.gz
irsc-238bb119dbb8dcf3d67c5647692237c4fc7f2da6.tar.xz
irsc-238bb119dbb8dcf3d67c5647692237c4fc7f2da6.zip
[descriptive commit message]HEADmaster
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/lib.rs b/src/lib.rs
index d624445..79c2581 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -9,7 +9,8 @@ extern crate regex;
#[macro_use]
extern crate log;
extern crate openssl;
-extern crate carboxyl;
+extern crate encoding;
+extern crate linear_map;
pub mod client;
pub mod color;
@@ -19,6 +20,7 @@ pub mod message;
pub mod command;
pub mod reply;
pub mod event;
+pub mod text;
use std::io;
use std::result;
@@ -26,12 +28,14 @@ use std::ops::{ Deref, DerefMut };
use openssl::ssl::error::SslError;
+use encoding::EncodingRef;
+
pub use ident::Ident;
-pub use message::{ Message, MsgType };
+pub use message::Message;
pub use command::Command;
pub use reply::Reply;
pub use event::Event;
-pub use client::{ Client, OwnedClient, SharedClient };
+pub use client::Client;
#[derive(Debug)]
pub enum IrscError {
@@ -60,3 +64,4 @@ impl<T> DerefMut for Result<T> {
impl<T> Result<T> { fn inner(self) -> result::Result<T, IrscError> { self.0 } }
pub const DEBUG: bool = cfg!(debug_assertions);
+pub static ENCODING: EncodingRef = encoding::all::UTF_8;