cracken 1.0.1

a fast password wordlist generator, Smartlist creation and password hybrid-mask analysis tool
Documentation
extern crate clap;
#[macro_use(lazy_static)]
extern crate lazy_static;
#[macro_use(bail)]
extern crate simple_error;
extern crate regex;

use std::error::Error;

pub mod charsets;
pub mod create_smartlist;
pub mod generators;
pub mod helpers;
pub mod mask;
pub mod password_entropy;
pub mod runner;
pub mod stackbuf;
pub mod wordlists;

pub mod built_info {
    // The file has been placed there by the build script.
    include!(concat!(env!("OUT_DIR"), "/built.rs"));
}

type BoxResult<T> = Result<T, Box<dyn Error>>;

const BUFFER_SIZE: usize = 8192;
pub const MAX_WORD_SIZE: usize = 512;

#[cfg(test)]
pub mod test_util {
    use std::path;

    pub fn wordlist_fname(fname: &str) -> path::PathBuf {
        let mut d = path::PathBuf::from(env!("CARGO_MANIFEST_DIR"));
        d.extend(vec!["test-resources", fname]);
        d
    }
}