diff options
Diffstat (limited to 'base/src')
-rw-r--r-- | base/src/dummy.rs (renamed from base/src/mod.rs) | 21 | ||||
-rw-r--r-- | base/src/lib.rs | 5 |
2 files changed, 3 insertions, 23 deletions
diff --git a/base/src/mod.rs b/base/src/dummy.rs index 5374598..9317c4e 100644 --- a/base/src/mod.rs +++ b/base/src/dummy.rs @@ -12,32 +12,15 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Traits and structs for conversion between various formats. -//! As the source format may not provide the same information as the -//! target format, all formats must allow for omittable information. - use std::iter; -use std::io::{BufRead, Write}; -use std::borrow::Cow; +use std::io::BufRead; use event::Event; use context::Context; -pub use self::energymech::Energymech; -pub use self::weechat::Weechat; -pub use self::binary::Binary; -pub use self::msgpack::Msgpack; - -mod energymech; -mod weechat; -// pub mod irssi; -mod binary; -mod msgpack; - - pub struct Dummy; -impl Decode for Dummy { +impl ::Decode for Dummy { fn decode<'a>(&'a mut self, _context: &'a Context, _input: &'a mut BufRead) diff --git a/base/src/lib.rs b/base/src/lib.rs index 9e96478..44f6110 100644 --- a/base/src/lib.rs +++ b/base/src/lib.rs @@ -17,15 +17,12 @@ extern crate chrono; #[macro_use] extern crate log; extern crate rustc_serialize; -// extern crate bincode; -// extern crate rmp; -// extern crate rmp_serialize as msgpack; pub mod event; -// pub mod format; pub mod context; pub mod error; pub mod format; +pub mod dummy; use std::io::{BufRead, Write}; |