1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#![deny(missing_docs)]
//! `hiirc` is a library built on top of [loirc](https://github.com/SBSTP/loirc). The goal
//! is to offer a friendly, event-based API.
//!
//! To use the library, implement the `Listener` trait and give an instance of your implementation
//! to the dispatch function, accompanied with an instance of the `Settings` struct configured to
//! your needs. You can also use the `Settings` struct as a builder, calling the `dispatch` method
//! once it is configured to your needs.

extern crate encoding;
extern crate loirc;

#[macro_use]
mod macros;
mod core;
pub mod ext;
mod listener;
mod settings;

pub use core::{dispatch};
pub use core::{Channel, ConnectionStatus, Error, Irc, IrcWrite, ChannelUser, ChannelUserStatus};
pub use listener::Listener;
pub use settings::Settings;
pub use loirc::Error as LoircError;
pub use loirc::{Code, Event, Message, MonitorSettings, ParseError, Prefix, PrefixUser,
                ReconnectionSettings};