summaryrefslogtreecommitdiffstats
path: root/src/common/mod.rs
diff options
context:
space:
mode:
authorPaul Masurel <paul.masurel@gmail.com>2017-05-23 09:25:45 +0900
committerPaul Masurel <paul.masurel@gmail.com>2017-05-25 18:17:37 +0900
commit7a6e62976bd2e571e303bb3880f230b16d7e38cd (patch)
tree0bab064815546b69adb0f71aa13cb8473c629b35 /src/common/mod.rs
parent2712930bd6876b2631da4795610099b156e483ec (diff)
Added stream dictionary code, merge unit test
Diffstat (limited to 'src/common/mod.rs')
-rw-r--r--src/common/mod.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/common/mod.rs b/src/common/mod.rs
index 9c9fa41..84b4cad 100644
--- a/src/common/mod.rs
+++ b/src/common/mod.rs
@@ -1,6 +1,7 @@
mod serialize;
mod timer;
mod vint;
+mod counting_writer;
pub mod bitpacker;
pub use self::serialize::BinarySerializable;
@@ -8,6 +9,8 @@ pub use self::timer::Timing;
pub use self::timer::TimerTree;
pub use self::timer::OpenTimer;
pub use self::vint::VInt;
+pub use self::counting_writer::CountingWriter;
+
use std::io;
/// Create a default io error given a string.
@@ -55,7 +58,6 @@ pub fn u64_to_i64(val: u64) -> i64 {
}
-
#[cfg(test)]
mod test {