Crate stringsext [] [src]

This main module uses the options module to read its command-line-arguments. It defines code for spawning the merger-thread who collects the results produced by the worker threads. The processing of the input-data is initiated by the input-module that itself uses the scanner module in which the worker-threads are spawned.

Reexports

extern crate std as std;
extern crate rustc_serialize;
extern crate docopt;
extern crate lazy_static;
extern crate itertools;
extern crate scoped_threadpool;
extern crate encoding;
use std::prelude::v1::*;
use input::process_input;
use options::ARGS;
use scanner::ScannerPool;
use std::path::Path;
use std::fs::File;
use std::io::prelude::*;
use std::str;
use std::process;
use std::thread::JoinHandle;
use std::io;
use mission::MISSIONS;
use std::sync::mpsc;
use std::thread;
use encoding::all;
use itertools::kmerge;
use itertools::Itertools;

Modules

codec
finding

This module defines data structures to store and process found strings (findings) in memory.

helper

This module contains general helper traits.

input

This module abstracts the data-input channels i.e. file and stdin.

mission

This module contains code needed to convert commandline arguments into a static MISSION structure.

options

This module deals with commandline arguments and related data structures.

scanner

This module encapsulates and abstracts the interface with the encoding-crate and spawns worker threads scanners, searching for valid strings.

Constants

AUTHOR
VERSION

Functions

main
main2

This function spawns and defines the behaviour of the merger-thread who collects and prints the results produced by the worker threads.