rsbx 2.0.0

Enhanced implementation of SeqBox in Rust
Documentation
#[cfg(test)]
#[macro_use]
extern crate quickcheck;

#[macro_use]
extern crate nom;

extern crate clap;

extern crate rand;

extern crate chrono;

extern crate smallvec;
extern crate ctrlc;

extern crate reed_solomon_erasure;

extern crate sha1;
extern crate sha2;
extern crate blake2_c;

mod crc_ccitt;

macro_rules! smallvec {
    [
        $arr:ty => $val:expr; $len:expr
    ] => {{
        let mut v : SmallVec<$arr> = SmallVec::with_capacity($len);
        for _ in 0..$len {
            v.push($val);
        }
        v
    }};
    [
        $val:expr; $len:expr
    ] => {{
        let mut v = SmallVec::with_capacity($len);
        for _ in 0..$len {
            v.push($val);
        }
        v
    }}
}

macro_rules! break_if_eof_seen {
    (
        $read_res:expr
    ) => {
        if $read_res.eof_seen { break; }
    }
}

mod file_error;
mod stdin_error;
mod stdout_error;

mod general_error;
use general_error::Error;
use general_error::ErrorKind;

#[macro_use]
mod json_macros;

#[macro_use]
mod misc_macros;

#[macro_use]
mod cli_macros;

#[macro_use]
mod block_preds;

mod multihash;
mod multihash_tests;
pub mod json_printer;
mod json_utils;
mod misc_utils;
mod misc_utils_tests;
mod file_utils;
mod file_utils_tests;
mod rand_utils;
mod time_utils;
mod time_utils_tests;
mod integer_utils;
mod integer_utils_tests;
mod block_utils;
pub mod output_channel;

pub mod sbx_block;
pub mod sbx_specs;
mod sbx_specs_tests;

mod log;

mod rs_codec;

mod encode_core;
mod decode_core;
mod rescue_core;
mod repair_core;
mod show_core;
mod sort_core;
mod check_core;

mod progress_report;

mod reader;
mod file_reader;
mod writer;
mod file_writer;

mod cli_utils;

pub mod cli_encode;
pub mod cli_decode;
pub mod cli_rescue;
pub mod cli_show;
pub mod cli_repair;
pub mod cli_check;
pub mod cli_sort;
pub mod cli_calc;